In my image gallery, I periodically have a missing thumbnail. What appears is the caption or title, but the thumbnail image is gone. However, if I click on the image to get into a particular gallery, the image thumbnail might actually be present, though not always.

I cannot solve the problem by re-uploading the picture. If I delete the picture and simply upload a new picture, it works, though it may disappear at a later date.

In my error log, the following message appears: "system/files not found," looking for the following location:
"/system/files?file="

However, my other pictures are visible, and they are all located in the "files/" folder along with the image which is missing. I checked the folder, and both the image and its thumb is present.

Any ideas?

I am running drupal 4.6.4, image module "image.module,v 1.146.2.7 2005/06/11".

Thanks,
Maria

Comments

cybe’s picture

I've had the very same problem, and it's been very annoying.. I've had to delete my image collection and look for and wait for an improved image solution....

Joshua Higgins’s picture

I too have the same problem...anyone going to address this?

walkah’s picture

Status: Active » Fixed

I've just committed a fix in both DRUPAL-4-6 and HEAD that fixes up a scenario where the original file was getting deleted. Please update to the latest version (1.146.2.12)

Anonymous’s picture

Status: Fixed » Closed (fixed)
orionvortex’s picture

Version: 4.6.x-1.x-dev » 6.x-1.x-dev
Status: Closed (fixed) » Active

I believe that I am having the same problem as well except I am using the newest version of image module. When I upload an image it creates thumbnails, etc. but a day or two later the thumbnails no longer appear and only the original image appears. This can be seen here at http://chibabeat.com/image/tid/177. Even if you click on one of the images and click on thumbnail it will give you the original image but just a few days ago there were thumbnails.

robertgarrigos’s picture

Version: 6.x-1.x-dev » 4.6.x-1.x-dev

I'm having this same problem with drupal 4.6.9 and some images uploded with htmlarea. I don't know which module this is related to, but it is very annoying. I have one page with 4 images (http://robert.garrigos.cat/en/portfolio/videodigital) and you see how they appear and disappear with each page load. Is this related to the browser? no idea yet....

robertgarrigos’s picture

Priority: Normal » Critical
Status: Active » Closed (fixed)

Found the solution for this. This is actually a 'bug' within database.mysql.inc (see this bug), which prevents to add a new header to show the image.

Image.module calls the file_transfer() function (in file.inc) to show thumbnails which adds a new header thru the header() php function. However, the database.mysql.inc bug triggers a php error message which, obviously, prevents to add any header, thus no thumbnail can be shown. What I don't understand, yet, is why I could not see that php error on screen even with all the php.ini settings set to show all the errors. Fortunately, watchdog logged that php error.

You need to apply this patch in order to have this problem solved.