replacing pictures replacing pictures
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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