It seems that this has been an issue a lot, but none of the fixes I've found have worked. I downloaded the latest release of drupal, the latest image module. installed everything without a problem, put the image.imagemagick.inc in the includes folder.

however I still cannot get it to create thumbnails.
my permissions are wide open .... it doesn't give me any sort of php error, just a little red box at the top "unable to create thumbnail"

I also double checked with my hosting provider, and I have verified the the path to imagemagick's convert binary is the same as the default file.

what can I try?
thanks!

Comments

zach harkey’s picture

This is one of those recurring problems that always seems to have a different cause. It's happened to me so often that I actually keep a "what fixed it this time" log.

It looks like you've covered most of the usual suspects. Something you haven't mentioned, and this has been a problem for me on more than one occasion, is PHP's open_basedir and/or safe_mode config settings. Try disabling both.

There are several ways to do this, I usually do it in the httpd.conf (or vhost.conf in Plesk environments.)

<Directory /home/httpd/vhosts/example.com/httpdocs>
  php_admin_value open_basedir none
  php_admin_value safe_mode 0
</Directory>

(change the path as necessary so that it points to your DOCUMENT_ROOT)

There are a couple other gotchas when it comes to multi-site installs regarding symlink ownership etc. but I'll spare the details unless you're in that situation.

If none of that helps, try tailing your apache error logs while you try to create the thumbs. I'm positive it will give you (us) feedback that will help pinpoint the culprit.

tail -f c 50 /home/httpd/vhosts/example.com/statistics/logs/error_log

(change the path as necessary so that it points to your error logs)

Kriana’s picture

I believe I need root access to do all of those things right? I don't have it ~_~. I'm in a dialog with my webhost -- they're going to reload things for me, but the thing is, I"ve gotten it to work with them... I know imagemagick is function because my coppermine install (just for testing this actually!) is functional. Hehe is there any manual way to add thumbs? I'm so frustrated at this point that I'd try it!

Kriana’s picture

aaaaand once again:

I ran phpinfo to at least get a look at these things. safemode is off. open basedir is set to none and there's a weird url... but I can't monkey with it so i'm not gonna worry. I found something in cpanel that looks like an error log.... it has nothing in it that looks like my problem (two whole entries, wholly unrelated == 404's)

sooo is it possible something is wrong with the actual module and i"m going nuts for no reason? It says it was updated august -- I'm not sure if that means the module or just a description.

drewish’s picture

Title: Thumbnail Issues » Thumbnail Issues with Imagemagick

marked http://drupal.org/node/123874 as a duplicate

drewish’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev
drewish’s picture

Category: support » bug

last change... i swear!

drewish’s picture

marked http://drupal.org/node/87127 as a duplicate.

i think this and http://drupal.org/node/99395 are both the same thing...

drewish’s picture

Status: Active » Fixed

i think this has probably been resolved due to patches in other issues.

Anonymous’s picture

Status: Fixed » Closed (fixed)