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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 04:28:05
Script start
Timing: Jan 31 2025 04:28:05
Module start 'layout'
Timing: Jan 31 2025 04:28:05
Module start 'content'
Timing: Jan 31 2025 04:28:05
Module end 'content'
Timing: Jan 31 2025 04:28:05
Script end

Main resources:

Total runtime0.0132 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1250151.2109
Module start 'layout' 0.00470.0021 739.335936.6328
Module start 'content' 0.00680.0048 775.968894.1094
Module end 'content' 0.01170.0014 870.078137.9922
Script end 0.0131  908.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002216.6902140.0002
Check MTime0.00118.1353140.0001
Mysql Total
Database connection0.00096.522410.0009
Mysqli_queries0.002115.737230.0007
Looping result0.00000.075910.0000
Template Total0.00118.510.0011
Template load0.00096.598310.0009
Template processing0.00021.804610.0002
Override
Cache load0.00064.703310.0006
General
dbfile0.00107.525980.0001
String conversion0.00000.052440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs