First of all, a big thanks to all the developers who make this stuff work! - I'm something of a Drupal novice but I think that there might be an issue with this module under my current configuration.

I'm using a WAMP setup with Apache 2.0.59 MySQL 5.0.2.7 - PHP 4.4.4
I have ImageMagick installed at c:\imagemagick and it's the latest ImageMagick-6.3.2-1-Q16-windows-dll.exe. I fooled around for a day configuring the "MagicWand for PHP", but now realize that it's irrelevant - ie, I had it configured and working but the results are the same with or without, so now it's disabled.

I've set up the latest Drupal 5.1 with image image-5.x-1.x-dev and moved image.imagemagick.inc to the includes folder as required.

I'm able to administer my image toolkit to select the ImageMagick Toolkit with a Location of the "convert" binary as c:\imagemagick\convert.exe - it needs the .exe to "accept it"

When I use the GD2 toolkit, images are processed correctly, so permissions seem to be OK. However, using the ImageMagic Toolkit I get the following errors on screen:

* Unable to create thumbnail image
* Unable to create preview image
* The selected file C:\wamp\www\Drupal51B\rvtrips\files could not be copied.
* The selected file C:\wamp\www\Drupal51B\rvtrips\files could not be copied.

Yet, when I look at C:\wamp\www\Drupal51B\rvtrips\files\images\temp the original jpeg, and 2 correctly sized jpgs have been generated. Also, the images folder contains the original full size image.

I wasn't convinced it was a Drupal issue so I installed a new release of Gallery, enabled ImageMagick, (disabled GD2), and it worked. So at least my ImageMagick install plays nice with Gallery.

Hope this helps - thanks again.

Comments

herb’s picture

FWIW, by installing the image_enhanced_scaling-5.x-1.x-dev module I now get 3 wonderfully sharpened and properly named images in the correct files\images folder! (This is Great!) However, I still get:

* Unable to create thumbnail image
* Unable to create preview image
* Unable to create thumbnail image
* Unable to create preview image
* The selected file C:\wamp\www\Drupal51B\rvtrips\files could not be copied.
* The selected file C:\wamp\www\Drupal51B\rvtrips\files could not be copied.

Your Image has been created.

And the image that I view when looking at the image content is just the orginally sized image, without any links to the other images.

I suspect that drupal doesn't like something about my c:\imagemagick\convert.exe path (yet a separate gallery install isn't bothered by it?)

herb’s picture

Another data point FWIW - I've now reinstall imagemagick to c:\im to see if there were any issues with long paths.

The path to the convert file is now c:\im\convert.exe and all seems well.

When I make an image, I get the same errors as before, a full size image is displayed, the Correctly Sized Images are generated inside the files\images\temp directory, and the full size image is located in files\images.

When I click on the link below the full size image for a thumbnail, the same errors occur, and the same full image is displayed BUT, the Correctly Sized Images are now Copied to the files\images directory.

Am I doing something wrong? or would this be considered a bug with this module? Any assistance would be greatly appreciated!

herb’s picture

This error has been fixed per http://drupal.org/node/127863

drewish’s picture

Status: Active » Fixed

cool, feel free to mark fixed issues as such ;)

Anonymous’s picture

Status: Fixed » Closed (fixed)