Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Friday 07 October 2005 12:27:15 am - 2 replies
Ćukasz Serwatka
Sunday 09 October 2005 11:23:12 pm
Your code is correct if you displaying images in {section} loop, or if you are sure that $item variable contains correct data (for fetch for example).
Try with:
{attribute_view_gui attribute=$node.object.data_map.resource_thumbnail image_class=small}
That code display small image for current node. Of course resource_thumbnail attribute must be image datatype.
Also make sure that GD or ImageMagick libs are installed and works correct.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
tagnet hopetalk
Thursday 13 October 2005 8:14:08 am
Hi,Thanks for your help, I have also used
$node.object.data_map.resource_image image_class="large"
But it does not work.I have used ImageMagick, but i dont know how to check whether it works or not.I have used
[ImageMagick] IsEnabled=true ExecutablePath=/usr/binExecutable=convert
[small]Filters[]=geometry/scale=100;100
[medium]Filters[]=geometry/scale=200;200
[large] Filters[]=geometry/scale=300;300in image.ini.append.
Please help me in this case.
You must be logged in to post messages in this topic!