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

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

[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