forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: kresty on March 19, 2017, 11:29:32 pm

Title: Fix resolution of a few files in database?
Post by: kresty on March 19, 2017, 11:29:32 pm
How do I "fix" image size in the database?

So, some images were uploaded at 1280x720 with black bars on the sides.  I then found a higher resolution version and overwrote the files in the albums without the black bars at 1244x1080, that's cool, but... when it launches the fullsize window, it tries to open it with the original window size, so the image is stretched because my aspect ratio changed.

So, how do I get coppermine to refetch the image size for these 3 images?  I tried the "read EXIF info again" checkbox, but apparently that doesn't get the resolution.

Suggestions?
Title: Re: Fix resolution of a few files in database?
Post by: phill104 on March 20, 2017, 02:07:56 am
I am guessing you have used ftp to replace your files? Try using the plugin - http://forum.coppermine-gallery.net/index.php/topic,60499.0.html
Title: Re: Fix resolution of a few files in database?
Post by: kresty on March 20, 2017, 05:55:22 am
Yes, FTP.  Thanks, I'll take a look at that!