replacing pictures replacing pictures
 

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

Main Menu

replacing pictures

Started by stock, September 24, 2005, 07:40:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stock

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

Joachim Müller

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

stock

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