Forums / Install & configuration / 3.2 final no image shown

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!