Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Fixing thumbnails on only a few files  (Read 1450 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Fixing thumbnails on only a few files
« on: October 09, 2008, 05:36:18 pm »

Here's the scenario. I uploaded about 7000 photos the other day to my new coppermine.
Lo and behold I soon discovered that coppermine doesn't autorotate photos from exif data. The result was several 100 files, randomly scattered in my collection, with the wrong orientation.
This isn't my problem, though.
After searching the web, I discovered a little utility called jhead that can fix the orientation for me.
So I went and wrote myself a script to fix the rotation of these files and also fix the orientation of the thumbs and intermediate pics.
HOWEVER, here's where the trouble begins:
  • I downloaded the files to my computer, and sure enough they are indeed fixed.
  • The coppermine gallery is another story. The intermediate pic displays fine, but the thumbnail is a squashed square and the link to the full-size photo points to the old photo.
How can I fix this without running the Resize thumbnails Admin utitlity? Since I have 7000 photos that seems like a big waste.
And why is the full-size photo coming up wrong? The link actually points to the old photo. How is that possible? I changed the file in the albums directory.


  • Guest
Re: Fixing thumbnails on only a few files
« Reply #1 on: October 09, 2008, 07:25:35 pm »

Admin tools also has an option to reload image dimensions. Make sure you clear your browser cache or force reload the page after changing images.
Pages: [1]   Go Up

Page created in 0.013 seconds with 21 queries.