Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: keeping views counter  (Read 4642 times)

0 Members and 1 Guest are viewing this topic.

awilson25

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
keeping views counter
« 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.
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: keeping views counter
« Reply #1 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
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • My Coppermine Gallery
Re: keeping views counter
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.