Forums / Setup & design / Wrong image path in the gallery demo & admin

Wrong image path in the gallery demo & admin

Author Message

Hugo Gallo

Saturday 11 June 2005 11:06:27 am

Just did a new install of 3.5 for Windows. Running Apache 1.3, ImageMagick & ImageGD are installed and there was no PHP configuration problems while optimizing during the initial setup. The images do exist in the var folder

(\ezdemo\var\news\storage\images\galleries\misc_flowers\blue_flower\232-1-eng-GB\blue_flower.jpg)  

But when I do a view source in the admin or the news demo that ez built for me, the path to the image looks like: <img src="/ezdemo" width="" height="" border="0" alt="" title="" /> Which clearly is the problem. How do I fix this problem? Thanks...

Łukasz Serwatka

Sunday 12 June 2005 6:43:34 am

Hi Hugo,

Go to settings/override/image.ini.append.php and check if correct path is set to ImageMagick or try disable ImageMagick and use GD.

[ImageMagick]
IsEnabled=false

Clear the cache, this should help.

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

Hugo Gallo

Sunday 12 June 2005 10:39:47 am

Worked like a charm.

But will this affect using AliasSettings & Filters? For example, can I still use this with ImageMagick disabled:

[AliasSettings]
AliasList[]
AliasList[]=small


[small]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=71;107

Łukasz Serwatka

Sunday 12 June 2005 11:15:27 pm

Yes, this will work with disabled ImageMagick.

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