Make sure you have a working image toolkit installed and enabled, for more information see: the settings page
i get this messege can somebody tell me what i m doing wrong

Comments

mikegull’s picture

Category: support » bug
Priority: Normal » Critical

Had the same issue, did some looking around the forums, found others with the same issue. This appears to affect new users, and not those that have upgraded, because the proper info was in 4.6.

The image settings section that was on /admin/settings in <4.6 have disappeared, and does not appear to be anywhere within core 4.7.x.

Basically, there should be a check for GD/GD2 and/or Imagemagick, and links to the appropriate instructions.

FWIW, on my Debian server, had to install the php4-gd and libgd packages to get this working, you will need to contact your server admin and do something similar.

Radiating Gnome’s picture

I'm having the same problem . . . but it looks like in your message above the message just stops . . . what was the solution?

-jpj

jboarman’s picture

Component: image_gallery » image.module

I can confirm that I too get this error on a new installation. There is NOTHING on the settings page that refers to an image toolkit. Does anyone know a work-around until this gets patched?

jboarman’s picture

Title: Make sure you have a working image toolkit installed and enabled, for more information see: the settings page » HERE'S THE FIX

This error message was not clear enough. In my situation, I did not have GD installed b/c I am a VPS newbie, which the 'settings' page has nothing to do with. After doing a phpinfo() to verify GD was not there, rebuilding apache through WHM (with the GD option added), the error message went away.

After looking at the code (includes/image.inc), it appears that the GD is the default choice. Only if it is not available does it go looking for an alternative image toolkit. The posts stating they just copied 'image.imagemagick.inc' from 'modules/image' to 'includes/image' only seem to help by displaying the 'Image handling' option on the admin/settings page (which is otherwise hidden). It does not, however, resolve the problem since GD is either necessary or the single file copy is not a complete install of imagemagick image handler.

Bèr Kessels’s picture

Title: HERE'S THE FIX » Make sure you have a working image toolkit installed and enabled, for more information see: the settings page
benthere’s picture

edgar saumell’s picture

Category: support » task

Hi all,

First excuse me for my english but I'm from Spain.
This is my first post in drupal.org. I had som trouble setting up the image.module but I were successfull looking for answers here and there in drupal.org.

I found that the documentation of image.module lack a bit. I don't know if I can complement it but I think i would be nice for newbies to add this (please correct me if I'm wrong):

--------------------------------------------------------------------
After installing the module (copying the folder 'image' to 'modules' folder of your drupal installation) you need a working image toolkit installed. The better way to know if you (on your own server) or your hosting provider have one installed is to check it with a phpinfo.php file.
You have to put (copy paste) the next lines of code in a plain text file, save it as 'phpinfo.php' and upload that file into the root of your web site.

<?
phpinfo();
?>

Then go to http://www.thenameofyour.site/phpinfo.php and search for "gd". You must found a block like this:

gd

GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

If it isn't enabled you will not see the gd information block. If you work with a a hosting provider, talk with them and ask for this feature. If you have your own server, you must install the php4-gd package (name change depending on the php version you are using), activate it in php.ini configuration file (automatic with apt-get and debian distro) and then restart apache manually (or whatever webserver you use).

Now you can activate the module and get rid of the 'Make sure you have a working image toolkit installed and enabled, for more information see: the settings page' message.
--------------------------------------------------------------------

I hope this can help to somebody, I haven't talked about imagemagick but I never used it.

BTW if someone would like to correct my English I will apreciate it. Thanks.

Best regards,
Edgar Saumell

riothamus-1’s picture

I had the same problem, but simply "enabling gd" wouldn't work for me (since gd was not installed with my php installation).
I had installed image magick, but the admin/settings page didn't display a toolkit option.
I went to the admin/settings/image page, and it produced the error.
AFTER I went to the admin/settings/image page, the toolkit option appeared on the admin/settings page.

deesto’s picture

Category: task » support

AFTER I went to the admin/settings/image page, the toolkit option appeared on the admin/settings page.

Where in the settings page does a "toolkit" option appear? I installed ImageMagick in an attempt to fix this problem, but nothing has changed so far.

I've tried the solutions on other pages but they haven't worked for me.

This issue is very frustrating and is keeping me from being able to evaluate Drupal for my organization (not to mention jading me against the product a bit).

budda’s picture

I got the same confusing message pointing to a non existing setting. I think the setting is there in Drupal 5.0/HEAD though.

To fix it I just installed the GD toolkit on my server, it was missing after all.

apt-get install php5-gd and restarted Apache2 ;)

amo-1’s picture

For Imagemagick it seems that there is an include file image.imagemagick.inc that comes with the image module by default that should be moved (or copied and pasted at least) into the drupal includes directory.

You will then get the option within the general settings page (as stated in the error) under the menu "Image handling" to choose the imagemagick toolkit. However, it seemed that I also needed to disable and then enable the image module (and img_assist module) first before I got the option to do so in the general settings page.

drupal modules directory
-> image module
-> image.imagemagick.inc

Move (or copy) image.imagemagick.inc file to:

drupal directory
-> includes
-> image.imagemagick.inc

drewish’s picture

Title: Make sure you have a working image toolkit installed and enabled, for more information see: the settings page » Better documentation of Image module's dependencies
Version: 4.7.x-1.x-dev » 6.x-1.x-dev
Category: support » task

I think this thread really highlights some problems with the documentation of what the image module needs to operate.

drewish’s picture

Status: Active » Fixed

this has been corrected.

Anonymous’s picture

Status: Fixed » Closed (fixed)