Problems with ImageGD?

Author Message

Dag Fossmo

Tuesday 13 January 2004 1:32:19 pm

Hi, I just installed ez-publish on our webserver and get error messages when I try to access the user sites.

"Fatal error: Call to undefined function: imagecreatetruecolor() in /home/roleplay/html/ez/ezpublish-3.3-1/lib/ezimage/classes/ezimagegdhandler.php on line 717
Fatal error: eZ publish did not finish it's request
"

I'm thinking that there's something wrong with the users access to the php-libraries for ImageGD, but I don't have any in-depth knowledge about it, so I was wondering if anybody have seen this one before or know what might be the problem.

Thanks

Kåre Køhler Høvik

Wednesday 14 January 2004 12:05:57 am

Hi

You've probably got ImageGD 1.x installed. We recommend using ImageMagick, but ImageGD2 will work as well. GD2 check will be added to version 3.3-2

--
Kåre Høvik

Kåre Høvik

Marco Zinn

Wednesday 14 January 2004 12:44:43 pm

I agree with Kore.
The GD functions, that ez3 is using (like imagecreatetruecolor) need GD 2.0.
If you have an older version installed, you will not get the image working (talking about version 3.3).
ezPublish 3.2 MIGHT work with a lesser GD version, as there was a new imagesystem introduced in 3.3.
Can someone at ez confirm this?

ez... do you really need the truecolor functions of GD? ;) See my bug report.

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

Jan Borsodi

Wednesday 14 January 2004 2:32:43 pm

ImageCreateTrueColor() is required to handle conversion from JPEG (mostly truecolor) and some PNGs (can be truecolor). If not we would have to convert from true color to a palette based (max 256 colors) which will require dithering, and trust me you don't want dithered images on your site.

The second thing to consider is that there has been lots of bugs in earlier GD versions, if you want something stable I would recommend the latest one.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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