I thought this was related to http://drupal.org/node/162901

I have the following image related modules installed:
image.module,v 1.209.2.45 2007/08/28 15:11:00
img_assist,v 1.68.2.18 2007/08/28 08:54:26

On every page I see a message of the type "Missing derivative images were regenerated for ." and no images are displayed.
And example: http://www.nickbroon.com/image/tid/31

Comments

Nick Brown’s picture

Title: No images displayed and "regenerated images" message on every page. » No images displayed and "Missing derivative images were regenerated" message on every page.
drewish’s picture

Nick Brown’s picture

That does indeed appear to fix the problem. Thanks loads! :-)

Nick Brown’s picture

I spoke to soon.
Although images are now displayed, it still appears to be regenerating them every time, as the pages are slow to load and the message still appears everytime, even after a reload.
http://www.nickbroon.com/image/tid/31

drewish’s picture

if you try out a patch you should post follow ups on the issue with the patch.

drewish’s picture

Status: Active » Fixed

try switching your image toolkit. i went though a bunch of debugging with another user and it turned out to be a buggy version of imagemagick. i've seen the same type of problem with GD as well. so what ever you're using, switch it up.

Nick Brown’s picture

Status: Fixed » Active

I now have the following module versions;
image.module,v 1.209.2.47 2007/09/04 18:17:49
img_assist.module,v 1.68.2.23 2007/09/10 15:21:57

and I'm still seeing the problem.

I have the following version of imagemagick;

[ebuild R ] media-gfx/imagemagick-6.3.4-r1 USE="jpeg zlib -X -bzip2 -doc -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -mpeg -nocxx -openexr -perl -png -q32 -q8 -tiff -truetype -wmf -xml" 0 kB

This appear to be the most up to date version available for my distribution, though I note 6.3.5 is available, though only very recently.
It should be note also that I've been using both these modules happily in the past with this a previous verisons of imagemagick. The problem only started happening with recent updates to these modules, though I cannot pinpoint which one.

If this is caused by an image toolkit problem, then I'd expect the image module toolkit to log some kind of warning or error, but I see none.

Reopening.

drewish’s picture

Priority: Critical » Normal

did you at least try out GD?

Nick Brown’s picture

Yes, I tried the GD toolkit, and nothing changed, I get same messages and no images displayed.

theorichel’s picture

I have the same problem, well at least partly. In Blocks I cannot show images and I get the 'regenerated' message in my logs. I have experienced this with the august 2007 version of Image, the most recent development version of Image (mid sept) as well as with a patch that was offered at the end of august.
I work with IMCE. I thougfht that was a toolkit like Imagmagick, but is apparently not recognized as such: Drupal says that I use GD.

I first had the problem that a thumbnail in the Video content was inserted twice. That problem has gone I think

theorichel’s picture

I was wrong, the double image problem is still alive. When in the Video moduyle I try to insert a thumbnail through the second option to do so, and then it happens. I upload an image and it ios inserted twice.

Will now try out the first option in Vieo to insert a thumbnail

rp1428’s picture

I have a similar issue. I *think* and I would welcome comments that is is memory related. I get missing derivative images, type offset in taxonomy.module and files missing from files/tmp....

It appears to be a problem in scaling based upon two things. image_scale is where some of the problems lie from debugging but being on goDaddy I could not investigate much further. Secondly, I changed the size of preview and thumbnail to be 2200 to prevent any rescaling and now everything is good - I resize anyway before uploading and am ok with the thumbnail being the original size.

I did not have problems with smaller images. Just larger ones (even trying to take 220px wide-->45px wide for the thumbail was causing an issue).

So where does gd take memory from? Is this limit defined by the php.ini limit, which is 50M for my system? Or is it bright enough to use more than that? Is there an image toolkit that is more efficient?

drewish’s picture

GD uses PHP's memory. ImageMagick uses a separate pool of memory.

rp1428’s picture

To get the thumbnail page rendering properly I had to create a theme specific function that did not have any of the width/height style that image gallery puts in based off the derivative image sizes. i don't really understand whiy it does that anyway since the correct image dimensions are specified in the img statements on the teaser page.

pyutaros’s picture

Subscribing.

Nick Brown’s picture

Stilling seeing this with following module versions :-(

image.module,v 1.209.2.48 2007/09/29 05:19:40 drewish
img_assist.module,v 1.68.2.39 2007/09/30 23:05:20 sun

Nick Brown’s picture

How do I turn on the imagemagick debugging?
http://drupal.org/node/173006#comment-315379

drewish’s picture

on the image-toolkit setting page.

Nick Brown’s picture

As I mentioned here http://drupal.org/node/173006#comment-315379 I do not see that option.
I only see the option to set the path to the convert binary :-(

Nick Brown’s picture

Doh. I forgot to copy the new image.imagemagick.inc to the include directory. I see the option now.
Having enabled it I see for example the following messages for this page;
http://www.nickbroon.com/node/297

# ImageMagick command: /usr/bin/convert -scale 100x75! -filter QUADRATIC 'files/images//img_3902.jpg' 'files/images//img_3902.thumbnail.jpg'
# ImageMagick output:
# ImageMagick command: /usr/bin/convert -scale 600x450! -filter QUADRATIC 'files/images//img_3902.jpg' 'files/images//img_3902.preview.jpg'
# ImageMagick output:
# The derivative images for Secret Howff have been regenerated.
# ImageMagick command: /usr/bin/convert -scale 75x100! -filter QUADRATIC 'files/images//Bowl_0.jpg' 'files/images//Bowl_0.thumbnail.jpg'
# ImageMagick output:
# ImageMagick command: /usr/bin/convert -scale 450x600! -filter QUADRATIC 'files/images//Bowl_0.jpg' 'files/images//Bowl_0.preview.jpg'
# ImageMagick output:
# The derivative images for Punch Bowl have been regenerated

Constantly displayed on every reload, and still no images :-(

Nick Brown’s picture

Status: Active » Closed (fixed)

Woohoo! I've fixed it.
Problem appears to have been that I had "Images/" as my default image path. And while this has worked fine for the past few years, I noticed that trailing slash is now no longer allowed. Removing it fixed it, and images are generated.
Was this a recent change?

Default image path:
Images/
Subdirectory in the directory "files" where pictures will be stored. Do not include trailing slash.

drewish’s picture

doh, sorry it took two months to get that figured out... at least i can now be sure that that adding the imagemagick debugging options was a good idea ;)

singularo’s picture

Yes, the trailing slash caused the problem for me too. Removed that and all starts working again.