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: replacing pictures  (Read 2594 times)

0 Members and 1 Guest are viewing this topic.

stock

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 109
replacing pictures
« on: September 24, 2005, 07:40:35 pm »

I am replacing my pictures with smaller versions. is it okay just to replace the originals on the server and will Coppermine just updates the thumbnails it creates or whatever it need to do autimatically. the file names are exactly the same.

cheers

Stock
« Last Edit: September 26, 2005, 07:41:05 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: replacing pictures
« Reply #1 on: September 25, 2005, 06:25:22 pm »

yes, you can replace the originals as long as you preserve the folder and file structure. However, the dimensions of a pic are being stored in coppermine's database, so in order to make this fully working you'll have to manually edit the database using a tool like phpMyAdmin. Browse coppermine's "pictures" database table and edit the pwidth and pheight entries manually. If this is too much effort for you, you will have to delete the files and re-upload them. Make sure to backup (both files and db) before messing with the files and database.

Joachim
Logged

stock

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 109
Re: replacing pictures
« Reply #2 on: September 25, 2005, 06:37:31 pm »

thanks very much

I was worried about space but to be honest these are fairly small anyway and don't think I'll bother if I have to manually do them. I presumed that update the database would do it within

Thanks

Stock
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.