forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ikaruga on October 09, 2008, 05:36:18 pm

Title: Fixing thumbnails on only a few files
Post by: ikaruga 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:
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.
Title: Re: Fixing thumbnails on only a few files
Post by: Nibbler 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.