Closed (fixed)
Project:
ImageCache
Version:
6.x-2.0-beta12
Component:
imagecache_image module
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
29 Apr 2009 at 20:29 UTC
Updated:
17 Nov 2011 at 11:20 UTC
it does not create preview images but not always.
why get the Untitled.jpg??
Failed generating an image from path/untitled.jpg using imagecache preset .
some help?
thanks
Comments
Comment #1
drewish commentedwell make sure you're using the latest version of the module. 2.0 is pretty dated at this point.
then consult the troubleshoting guide http://drupal.org/node/224913 feel free to reopen this issue if you're still having the problem after following those steps.
Comment #2
crozilla commentedI'm getting this same issue all of a sudden, too. But all the time now.
Imagecache was working fine until recently, so I'm guessing one of the last couple of updates must have messed it up. Now, I'm getting: "Failed generating an image from ..." on the error page. The image uploads fine and displays in the node in edit mode, but instead of an image in view, I'm getting the filename as a link which Lightbox2 pops up the proper larger version.
- ImageCache 5.x-2.4
- ImageAPI 5.x-1.5
- Drupal 5.17
I've consulted the Imagecache troubleshooting page, and everything seems correct (and it all used to work fine). Download method is public, directories are writable, clean URLs, transliteration module enabled, imagemagick installed, and installed ImageAPI before Imagecache...
Any other ideas?
Comment #3
crozilla commentedOne other note: inside the 'imagecache' directory, there seems to be too many subdirectories. Imagecache seems to create thumbnails in a directory named after the preset, then in a 'files' subdirectory, but there are also some thumbnails loose in the preset directory as well as others in subdirectories named 'images.' I assume it's because different versions of Imagecache filed thumbnails in different ways. But I don't know....just thought it might help to know.
Comment #4
madwalo commentedi have this message in my status report
ImageAPI PHP
ImageAPI recommends at least PHP 5.2. Older versions of PHP are not supported but may function.
i´ve updated to the last imagecache but i still have the problem
Comment #5
alvinj commentedI just posted this answer in another thread, but I was having this same "Failed generating an image" problem, and it was fixed when I enabled the "ImageAPI GD2" module. Once I enabled that module, my new images displayed fine, and my old images also started showing up.
Comment #6
andrewsuth commentedcomment #5 works for me when I use the
Scaleoption but not when I use theSharpenoption.I haven't tried all the others..
Any ideas how to fix this?
Comment #7
lias commentedI don't have a solution just to say that I"m using 5x-2.4 and also getting this error message in my logs and photos showing up as links rather than showing the thumbnail.
I've installed and reinstalled imagecache and imageapi and thickbox but no luck.
Imagecache already generating: D:\www\public_html\domain/imagecache/photo_thumb/album_photos/DV_2009_2.jpg, Lock file: D:\www\public_html\tmp/photo_thumbDV_2009_2.jpg.Plus, imagecache dumped it's sample pic in my files\ folder rather than in its own directory. I am also not seeing any preset generated in the files folder.
I took a look in my tmp folder and did find the photos and the thumbnailimagecache_sample but it doesn't seem to create them in my files folder.
Comment #8
Ozeuss commentedmight be related to http://drupal.org/node/554932
Comment #9
ruralrooster commented#5 worked for me too using 6.x
Comment #10
kenorb commented#5 worked for me
Comment #11
kenorb commentedCheck permissions or enable 'ImageAPI GD2' module.
Please re-open if any have everything set up properly and still have this problem.
If 6.x, follow this issue: #729872: Failed generating an image from xxxxx.jpg using imagecache preset small.
Comment #13
computer_jin commentedThanks
I enabled ImageAPI GD2 module and its works fine for me...
Comment #14
MattMoody commented#5 works for me