I tried to activate imagemagick according the HowTo (http://drupal.org/node/131994) but when I am trying
to save the configuration an error message is displayed, saying that I don't have the GD lib.

In fact my PHP4 Apache module lacks GD support but I don't intend to use GD because I have a working ImageMagick installation. Do I have to compile GD into PHP to use ImageMagick with Drupal?

Werner

Comments

SheilaRuth’s picture

I'm having this same problem with the ImageMagick toolkit. It's installed on the server, and I copied the image.imagemagick.inc file to the includes directory. This is a brand new, clean installation of Drupal 5.1 with a brand new database - not upgraded from anything.

When I go to the ImageToolkit page, it shows both ImageMagick and GD as options. But if I select ImageMagick and click "Save configuration," it continues to display the following error:

The built-in GD image toolkit requires that the GD module for PHP be installed and configured properly. For more information see PHP's image documentation.
The settings have not been saved because of the errors.

I do not have GD installed in PHP, but I shouldn't have to to use ImageMagick. I have an older Drupal installation (4.6, I believe) for a different site on the same machine, and ImageMagick works fine on that one.

Has anyone found the cause/solution to this?

gojamiegirl’s picture

Hello,

See this link.

http://drupal.org/node/55585

I was able to resolve the issue by modifying my /etc/php.ini file and uncommented (removing the ";") on this line:

;extension = gd.so

And restarting my webserver (lighttpd in my case). This allowed me to choose between gd and imagemagick.