[Solved]: Does CPG store picture info? [Solved]: Does CPG store picture info?
 

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

[Solved]: Does CPG store picture info?

Started by je79ayps, March 29, 2004, 12:38:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

je79ayps

I have, by mistake, uploaded a picture in a wrong size.

Can I just FTP the right sized picture to the albums folder or does CPG store the picture info in some way that it wouldn't work?

Casper

Coppermine stores the image size in the database, and when the image is called, puts it in a box that fits.  If the image has been changed, coppermine will stretch/shrink the pic to fit, so it will look bad.

If you already have comments/views etc that you don't want to lose, you will need to do what you suggested, but go into the database and edit the size there.  if not, just use the delete function and re-upload.

You can use the re-size utility to delete original pics as well, but this will do that to all pics in the album selected.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

je79ayps

Thanks but what about the mini picture is that made on fly from GDlib?

Casper

You dont have to worry about the thumbs or normal size pics, they will have been created at the settings in your config, regardless of the original size.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

je79ayps