Gallery 2.x Thumbnail broken and won’t rebuild

Written by James McDonald

March 23, 2010

Was just looking in my Gallery and found an image with a broken thumbnail. Broken thumbnails seem to be a semi-regular occurence.

Normally if this happens I can use the Gallery 2.x photo edit functionality and;

  1. rotate the photo back and forth and the thumbnail rebuilds.
  2. or use the crop thumbnail functionality which likewise rebuilds the thumbnail (I’m not aware of a per album thumbnail rebuild option. Let me know if there is)

Despite doing the above, this time the thumbnail stayed broken.

So…

Downloaded the full sized photo, deleted the original photo from Gallery 2.x and then reuploaded – Thumbnail still broken.
Opened in eog (Eye of Gnome) – No errors so I renamed the full sized photo and reuploaded (thinking maybe a stale db record was pointing to an old corrupt image) – Thumbnail still broken.

The fix:
Opened the photo in GIMP and I got an error message “Premature end of image”. Used File ==> Save As in GIMP and then reuploaded this new image and the thumbnail worked.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...