Currently I can create image nodes using image.module, but no thumbnails are generated and I can't manipulate the image (resize,rotate etc)

No warnings are generated, either - any tips? I'm running latest drupal and IM 5.4.8.

thanks,
neko

Comments

neko’s picture

any help on this one?

cheers,
neko

cornernote’s picture

Hello,

In the _image_convert function I changed this:
return $err;

To this:
return t("$_imagick_convert $filter $source $dest");

It returned the Image Magick command that was trying to run. Aparently it does not like the quotes around the file names. To remove them do this to the _image_convert function:

CHANGE FROM:
$source = _image_escape_shell($source);
$dest = _image_escape_shell($dest);

CHANGE TO:
$source = strtr(_image_escape_shell($source),array("'"=>""));
$dest = strtr(_image_escape_shell($dest),array("'"=>""));

Hope this helps some people.

Best regards,
Brett

<a href="http://www.mrphp.com.au">Mr PHP :: We Make Code</a>