I have a 'preview' preset (500x500, aspect maintained) and a 'thumbnail' preset (120x120, aspect maintained). Sometimes I'll see a preview generated while its corresponding thumbnail isn't. Sometimes I'll see the reverse. I've flushed and regenerated, and sometimes the set produces it worse. The orignal file is in my files directory, but the imagecache images that do not show up in the browser do not exist in their respect files/imagecache/

. This issue will happen with separate images from the same camera, conditions and subject under the same settings, meaning the file sizes should be quite similar. No errors on screen, in the watchdow or in the Apache log. Just broken image icons on my screen. I'm a fairly adept Drupal/PHP hacker and this has me stumped. php.ini script memory is 160M Using: ImageField 5.x-2.1, Imagefield Import 5.x-1.1-beta, ImageAPI 5.x-1.2, ImageAPI GD2 5.x-1.2, ImageCache 5.x-2.1, Imagecache UI, 5.x-2.1, php-5.1.6 (Linux), php-gd-5.1.6, thanks, jason

Comments

dopry’s picture

I recommend you test with php 5.2 and see if you can reproduce the results. php 5.1 is not officially supported.

jyg’s picture

I'm using 5.2.6 now, issue remains. It also only happens with specific images, though what the differentiating denominator is I do not know as two very similar images will have one process fine and the other not.

bad: http://jyg.us/system/files/CIMG1608.JPG
good: http://jyg.us/system/files/CIMG1609.JPG

I've removed (via content admin) both images, or flush, or remove and flush, and also tried deleting and re-making the preset. Same images croak every time. The images that are supposed to be generated by imagecache aren't broken, they're not there. So you will not find

http://jyg.us/system/files/imagecache/thumbnail/CIMG1608.JPG

but you will find

http://jyg.us/system/files/imagecache/thumbnail/CIMG1609.JPG

thanks for taking the time....

jyg’s picture

I've found that if I do 3 images at a time (import, then access, then 3 more, and so on) this problem does not happen. I'm not really sure why my configuration would do that. Check out my phpinfo output: http://jyg.us/phpinfo This intentionally comes through Drupal to make sure that any and all php config parameters from php, apache or drupal are being considered.

dopry’s picture

Project: ImageCache » Imagefield Import
Version: 5.x-2.1 » 5.x-1.x-dev

You're hitting memory limits on imports most likely... bumping this to import, since you didn't care to share that information with people in the first place. You could have mentioned that you were importing images and not uploading them..

vordude’s picture

Status: Active » Postponed (maintainer needs more info)

If it is a memory issue, this would help you out:

http://drupal.org/node/29268

vordude’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)