Forums / Setup & design / image size in template override

image size in template override

Author Message

risto CMS user

Wednesday 15 March 2006 6:32:21 am

I have this:

{content_view_gui view=embed content_object=$node.object.data_map.bilde.content}

it prints out an image (bilde). the thing is, Id like to set size on it, but if I set size nothing chages. I have tried using:

{attribute_view_gui attribute=$node.object.data_map.bilde size=small}
{attribute_view_gui attribute=$node.object.data_map.bilde image_class=small}

None of them work. wats wrong here?

Ɓukasz Serwatka

Wednesday 15 March 2006 11:27:34 pm

Do you have any errors/warnings in debug output? Make sure that this is not permission problem. Try clear view and image aliases cache from admin interface. What datatype is bilde attribute? Image or Object relation?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog