I am trying to figure out how to use new image.module from CVS with the 4.6 rc. From what I can understand the default image handling software for this set up is the GD_toolkit. Right now this isn't installed on my servers, but Imagemagick is. All of my other PHP scripts on mysites already use Imagemagick, so I would rather not switch over to GD. So....How do I use Imagemagick with the new image.module. There is a file called image.imagemagick.inc in the image module directory, but I can't figure out how it affects my set up.

Comments

cprice’s picture

Copy the image.imagemagick.inc to your drupal/includes directory.

Goto administer->settings and change from "Built-In GD2 toolkit" to "ImageMagick Toolkit" under Image Handling.

Be sure and give the correct location for the convert binary! By default Drupal thinks it is in /usr/bin/convert, I think.

peterx’s picture

I copied image.imagemagick.inc to drupal/includes. Only GD appears in Administer > Settings. I have Drupal 4.6.0. I tried Image 4.6.0 and the version from CVS.

I have not found anything explaining how something gets included from the include file. I tried manually including the image.imagemagick.inc file in code but that did nothing.

radiofranky’s picture

I get the error message logged in log.
it seems like there is something wrong during moving the file.

can someone help please? I rolled back to 4.6.6 and the same directory worked fine.

below is the error message

Type php
Date Wednesday, March 29, 2006 - 20:46
User admin
Location /node/add/image
Referrer http://www.recipeshared.com/node/add/image
Message move_uploaded_file(): Moved: '/var/tmp/phpdjpJHl' to 'tmpxyz/tmp_DXlN0j' in /home/recipesh/public_html/includes/file.inc on line 238.
Severity error
Hostname 69.106.226.23

gennaro8310’s picture

I'm a newbie, but your trick have worked for me, thanks