forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: awilson25 on November 13, 2005, 06:36:17 am

Title: keeping views counter
Post by: awilson25 on November 13, 2005, 06:36:17 am
Is there a way to modify pictures then upload the same picture and retain the number of views for that picture.
Title: Re: keeping views counter
Post by: artistsinhawaii on November 13, 2005, 08:17:36 am
Is there a way to modify pictures then upload the same picture and retain the number of views for that picture.

As long as when you modify it, you create the necessary thumbnail and intermediate picture with a 3rd party software, and then upload all three files to the same directory using the same names, ie. thumb_yourfile.jpg, normal_yourfile.jpg, & yourfile.jpg, CPG wouldn't even know that they went AWOL.

Dennis
Title: Re: keeping views counter
Post by: tomrock on November 17, 2005, 04:51:28 pm
Just make sure the pixel dimensions of the new picture are the same as the old. The dimensions are stored in the database and Coppermine will stretch the picture file to the dimensions in the database.