Forums / Install & configuration / Images are not working

Images are not working

Author Message

Alessandro Ranellucci

Friday 18 April 2003 9:50:31 am

They don't work with GD. Okay, I'm now using ImageMagick.

When viewing the article, I get this debug output:

Warning:
Apr 18 2003 16:42:32

Exec: convert -geometry "600x600>" var/storage/reference/image//phpbu8qDp jpg:var/storage/variations/image/p/h/p//phpbu8qDp, Err: , Ret: 1

Warning: PHP
Apr 18 2003 16:42:32

getimagesize(var/storage/variations/image/p/h/p/phpbu8qDp) [<a href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]: failed to create stream: No such file or directory in /usr/www/eztest.primafila.net/web/ezpublish-3.0-1/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 211

Warning: PHP
Apr 18 2003 16:42:32

filesize() [<a href='http://www.php.net/function.filesize'>function.filesize</a>]: Stat failed for var/storage/variations/image/p/h/p/phpbu8qDp (errno=2 - No such file or directory) in /usr/www/eztest.primafila.net/web/ezpublish-3.0-1/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 226

Error:
Apr 18 2003 16:42:32

Could not create variation for var/storage/variations/image/p/h/p/phpbu8qDp

----

Note that image does exist in var/storage/original/ but doesn't in var/storage/variations, so I guess it is not related to permissions. I'd like to get some help! Thanks. Alessandro.

Alessandro Ranellucci

Monday 21 April 2003 2:29:00 pm

Okay.
My ImageMagick installation was bad, since it missed all delegates (I pointed out when I tried to run those "convert..." commands from the command line). Since I'm running on FreeBSD, I just compiled ImageMagick using the source tree in /usr/ports/graphics/ImageMagick.

--Alessandro.