3.2 final no image shown

Author Message

Mike Salazar

Thursday 18 September 2003 11:16:45 am

Hi. I wonder why theres no images shown on the demo sites.
Is this a bug? I have imagemagick and gd installed and identified.

Marco Zinn

Saturday 20 September 2003 12:58:32 pm

I installed 3.2 with the "news" design.
In 3.1, this design HAD images, but now, in 3.2, there are no images.
This is not a bug. Just edit the articles from the demo and insert an image as a article thumbnail (or insert an "image" object).
Try this.

Marco
http://www.hyperroad-design.com

Mike Salazar

Sunday 21 September 2003 9:23:04 am

Hi, Marco. I tried your advice but to no avail.
Heres my image.ini

[ConverterSettings]
UseConvert=true
UseGD=true
[ShellSettings]
ConvertPath=c:\program files\imagemagick
ConvertExecutable=convert.exe

I wonder what's wrong. Before i just re-install imagemagick and ezpublish and everything will be fine. Any help around :)

Graham Tillotson

Sunday 21 September 2003 9:22:25 pm

I'm having this same problem. I installed 3.2 final on Windows and upgraded a 3.1 site, and the images show for **existing** content. When I create a new article, info_page, or anything with an image, the image does not show up. Also, if I update an existing (3.1) object, the image is lost.

This poses SERIOUS problems for me, and I need a fix quickly. I'm scheduled to roll out a new version of ezPublish in two weeks.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Tom Couwberghs

Sunday 21 September 2003 11:30:19 pm

I'm having the same problem too. I thought it was just me, but apparantly we're all in this together. Strange ...

These are the errors that ezp generates:

Undefined variable: to_file in c:\wwwsrv\ezp32\lib\ezimage\classes\ezimagemanager.php on line 410

getimagesize(var/corporate/storage/variations/image/p/h/p/): failed to open stream: Permission denied in c:\wwwsrv\ezp32\kernel\classes\datatypes\ezimage\ezimagevariation.php on line 252

Any ideas anyone

Kåre Køhler Høvik

Sunday 21 September 2003 11:40:23 pm

We have some problems executing Image Magick when it is installed in a directory with spaces. Normally using "<path with space and executalble>" works, but Image Magick also use a parameter which require " " around it (for scaling). This confuses php, and and it won't execute correctly.

The easiest way to fix this is to add the Image Magick directory to path, and remove ConvertPath settings from image.ini.

Kåre Høvik

Tom Couwberghs

Monday 22 September 2003 12:08:17 am

Thanks eZ crew for the quick response. Setting the IM-path in Windows didn't help for me. Ezp started complaining about the convertpath not being set.

The problem was indeed the path with spaces, so i reinstalled IM to a directory without spaces and instantly the thing runned like a charm.

Big thanks!

Graham Tillotson

Monday 22 September 2003 6:07:47 am

Sorry for being so confused, but I still can't get this to work. I've installed ImageMagick into its own directory (c:\ImageMagick) and added it to the PATH. Here are the lines from image.ini:

[ShellSettings]
ConvertPath=c:\imagemagick
ConvertExecutable=convert.exe

I've also got convertim.exe in c:\winnt\system32. I'm not sure what to change to get this going. I've updated the image.ini file, cleared the cache(s) completely, and still nothing works.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Graham Tillotson

Monday 22 September 2003 6:21:05 am

Duh -- I figured it out. I didn't think to check for an override, but then I saw image.ini.append.php was firing and so I updated the appropriate lines:

[ShellSettings]
#ConvertPath=C:\WINDOWS\system32
#ConvertExecutable=convertim.exe
ConvertPath=C:\ImageMagick
ConvertExecutable=convert.exe

Cleared the cache, reloaded, and everything works now. Thanks much, ez crew.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Mike Salazar

Monday 22 September 2003 9:32:21 am

Thanks EzCrew :) You just made my day!

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 18 2025 16:00:20
Script start
Timing: Jan 18 2025 16:00:20
Module start 'layout'
Timing: Jan 18 2025 16:00:20
Module start 'content'
Timing: Jan 18 2025 16:00:20
Module end 'content'
Timing: Jan 18 2025 16:00:20
Script end

Main resources:

Total runtime0.0171 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.0052 589.0703152.6250
Module start 'layout' 0.00520.0029 741.695339.4453
Module start 'content' 0.00810.0070 781.1406101.3516
Module end 'content' 0.01510.0019 882.492242.3047
Script end 0.0170  924.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.7256140.0002
Check MTime0.00116.6970140.0001
Mysql Total
Database connection0.00063.351310.0006
Mysqli_queries0.002816.651830.0009
Looping result0.00000.111810.0000
Template Total0.00169.110.0016
Template load0.00084.793010.0008
Template processing0.00074.277510.0007
Override
Cache load0.00063.380610.0006
General
dbfile0.00169.369480.0002
String conversion0.00000.046140.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