Forums / Developer / Image display problem

Image display problem

Author Message

Ashwini Venugopal

Monday 14 March 2005 8:08:32 am

Hi,

I have made the following entry in image.ini.append

[ShellSettings]
ConvertPath=/opt/ImageMagick/bin
ConvertExecutable=/opt/ImageMagick/bin/convert

Still, the images are not displayed.

The is_valid() indicates that there is an image, but it does not display the image. I had upgraded the site from 3.2.4.

What settings I need to add to display the images. I an currently using 3.5.

Thanks
Ashwini

Ashwini V

Monday 14 March 2005 8:55:48 pm

Hi,

I am having the same problems too.
In which location does Ezpublsish 3.5 store the images of articles?

Ashwini Venugopal

Monday 14 March 2005 9:06:57 pm

Hi,

I have used the following code,

{attribute_view_gui = $:item.object.data_map.resource_thumbnail image_class="small"}

Is this correct?

Thanks
Ashwini

Eirik Alfstad Johansen

Monday 14 March 2005 10:24:15 pm

Hi Ashwini,

You do not say whether you added the ImageMagick entries to the image.ini file recently, or if this is something that has worked with a previous version. If you've just added it, try replacing the value for the ConvertExecutable to simply convert.

Also, your template code is missing the attribute parameter, like so:

{attribute_view_gui attribute=$:item.object.data_map.resource_thumbnail image_class="small"}

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Ɓukasz Serwatka

Monday 14 March 2005 10:25:49 pm

Hi,

Have you read this documents?
http://ez.no/ez_publish/documentation/configuration/troubleshooting/images_do_not_work
http://ez.no/ez_publish/documentation/configuration/troubleshooting/images_do_not_work/you_are_sure_that_you_have_imagemagick_but_its_not_working

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

Ashwini V

Tuesday 15 March 2005 1:18:52 am

Hi,

Eirik, I have tried converting ConvertExecutable to Convert. It didnt work.

Lukasz, I went through the two documents. The directory
"/design/admin/override/templates/content/view" is not present. Is this not available in 3.5?

I have set image.ini.append.php file as mentioned in
http://ez.no/ez_publish/documentation/configuration/troubleshooting/images_do_not_work/you_are_sure_that_you_have_imagemagick_but_its_not_working

Thanks