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

drewish’s picture

Status: Active » Fixed

well 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.

crozilla’s picture

Version: 5.x-2.0 » 5.x-2.4
Status: Fixed » Active

I'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?

crozilla’s picture

One 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.

madwalo’s picture

i 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

alvinj’s picture

I 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.

andrewsuth’s picture

comment #5 works for me when I use the Scale option but not when I use the Sharpen option.

I haven't tried all the others..

Any ideas how to fix this?

lias’s picture

I 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.

Ozeuss’s picture

might be related to http://drupal.org/node/554932

ruralrooster’s picture

#5 worked for me too using 6.x

kenorb’s picture

#5 worked for me

kenorb’s picture

Category: bug » support
Status: Active » Fixed

Check 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

computer_jin’s picture

Thanks
I enabled ImageAPI GD2 module and its works fine for me...

MattMoody’s picture

Version: 5.x-2.4 » 6.x-2.0-beta12
Assigned: Unassigned » MattMoody

#5 works for me