Using CCK, uploading an image file results in no thumbnail appearing, but it does place a file in the appropriate folder (just named incorrectly--i.e. filename_0.jpg or filename_1.jpg). However, simply removing the _0 or _1 makes the thumbnail appear correctly. The 'files' folder is writable. Any ideas on what would cause that craziness?

Comments

jvieille’s picture

Same problem here + path issue, though I thought it was an Imagefield problem
(I had not imagecache installed, just the things that come with imagefield)
http://drupal.org/node/469840

rogb’s picture

Are you using imagemagick toolkit? If so, convert (the imagemagick command) sometimes produces filenames as you describe if the source file contains an embedded thumbnail.

To get around it, try using the GD toolkit instead, or the module could possibly be changed to use a trick similar to the one below that I've been using to get around a similar problem.
convert $filename\[0\] -resize "1024x1024>" /tmp/$newname.jpg

The \[0\] part is the key (I currently have ImageMagick 6.3.7)

Hope that helps

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.