image_exact: File does not exist.

tj2653 - November 8, 2007 - 04:05
Project:Image Exact Sizes
Version:5.x-0.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm running into some errors with 5.x-0.1-dev and Drupal 5.3.

When I try to upload an avatar to creat an exact 35x35 square thumbnail (I followed the double rule and set the avatar size to 70x70), I get this error:

image_exact: File does not exist.

The changes have been saved.

I believe it is reverting to the original resizing method, since the thumbnail is not square, and that's what the "The changes have been saved." is referring to.

When trying to thumbnail an image uploaded with the image.module (5.x-1.6), I get this error:

    * ImageMagick reported an error: convert: unable to open image `files': Is a directory.
    * ImageMagick reported an error: convert: missing an image filename `files'.

Your Image has been created.

Once again, the thumbnail is not square as I specified. I have checked "Use exact sizes for image-nodes", "Thumbnail" and "Use exact sizes for avatars?". I have the "ImageMagick Advanced Options" module enabled, but that shouldn't matter should it? Can someone please help?

Thanks,
Cary

#1

tj2653 - November 8, 2007 - 05:37

Sorry...someone fixed half of this already (image.module uploads) at: http://drupal.org/node/180921 - I need to search a little better! I'm still having problems with the avatar resizing. I also tried the patch at http://drupal.org/node/79737 - but that doesn't work for me.

#2

dr00b - March 31, 2008 - 20:13

I am getting the same error. Tried to follow threads referenced by tj2653 and tried the first patch as suggested, error persists.

#3

visionforge - June 26, 2008 - 15:36

Has anyone had any luck with this problem yet. I'm not experienced with code, but am having the same problem.

#4

najibx - September 8, 2008 - 06:07

i have similar problem. This is the debug

# ImageMagick command: /usr/local/lib/php/convert -crop 680x680+172+0! -quality 100 -density 72 -units PixelsPerInch 'files/images/IM6760_wallpaper.jpg' 'files'
# ImageMagick output:
# ImageMagick command: /usr/local/lib/php/convert -resize 200x200! -unsharp 0.9x0.7+0.9+0.02 -strip -density 72 -units PixelsPerInch 'files' 'files'
# ImageMagick output:
# ImageMagick command: /usr/local/lib/php/convert -resize 720x720! -unsharp 0.9x0.7+0.9+0.02 -density 72 -units PixelsPerInch 'files' 'files'
# ImageMagick output:
# The Image has been updated.

This is the eror msg

    * ImageMagick reported an error: convert: unable to open image `files': Is a directory.
    * ImageMagick reported an error: convert: missing an image filename `files'.
    * ImageMagick reported an error: convert: missing an image filename `files'.

 
 

Drupal is a registered trademark of Dries Buytaert.