Closed (fixed)
Project:
ImageCache
Version:
6.x-2.0-beta9
Component:
imagecache_image module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2009 at 05:06 UTC
Updated:
3 Jun 2012 at 00:17 UTC
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
Comment #1
jvieille commentedSame 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
Comment #2
rogb commentedAre 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
Comment #3
fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.