News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Change image size

Started by binocle, January 31, 2004, 10:45:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

binocle

My pictures in my gallery are 500 px size, but I would like to update all the pictures remplacing them by biggest pictures (600px) but conserving all the data of the DB (comment, view etc..)

I've try to remplace a picture directly in the "album" folder, change size in the config, the picture change, but the size stay the same..

So how to do ?

Joachim Müller


binocle

Thank you but It didn't work  :cry:

I will have to change the size directly in phpmyadmin, but il will take some time  :shock:

Joachim Müller

the utility does work - if you can't get it running I suggest you upgrade to the most recent version of coppermine (cpg1.2.1), it has the "resize pictures" utility built-in.

GauGau

binocle

OK, i've updated to 1.2 version, but i've got the same problem.

But I've forgotten to say something : I don't resize my pictures, for gain web space : so my original pics are 500*320 and i would like to upload new ones biggest (600*400)

and i think that the "resize picture" is only for rezise intermediate pics

So, do you have an idea for my problem ?

thank you in advance  :wink:

Casper

You can do it by simply uploading them and overwriting the originals, but they will still display at the old size because the database still has them at the old size.

So you need to edit the pic size in the database.
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

binocle

ok, thats what i've said in my second reply :wink:

Thank you for the confirmation  :wink: