keeping views counter keeping views counter
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

keeping views counter

Started by awilson25, November 13, 2005, 06:36:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

awilson25

Is there a way to modify pictures then upload the same picture and retain the number of views for that picture.

artistsinhawaii

Quote from: 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.

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
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

tomrock

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.