Share » Forums » Developer » Reg : Image in 3.5.2

Reg : Image in 3.5.2

Reg : Image in 3.5.2

Friday 07 October 2005 12:27:15 am - 2 replies

Author Message

Ɓ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/bin
Executable=convert

[small]
Filters[]=geometry/scale=100;100

[medium]
Filters[]=geometry/scale=200;200

[large]
Filters[]=geometry/scale=300;300
in image.ini.append.

Please help me in this case.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu