forum.coppermine-gallery.net

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: binocle on January 31, 2004, 10:45:12 pm

Title: Change image size
Post by: binocle on January 31, 2004, 10:45:12 pm
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 ?
Title: Change image size
Post by: Joachim Müller on February 01, 2004, 02:34:29 pm
take a look at the resize pictures (util.php) mod (http://prdownloads.sourceforge.net/coppermine/cpg1.1mod_util.zip?download)

GauGau
Title: Change image size
Post by: binocle on February 01, 2004, 07:04:49 pm
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:
Title: Change image size
Post by: Joachim Müller on February 01, 2004, 09:14:18 pm
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
Title: Change image size
Post by: binocle on February 05, 2004, 05:05:12 pm
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:
Title: Change image size
Post by: Casper on February 05, 2004, 06:25:03 pm
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.
Title: Change image size
Post by: binocle on February 05, 2004, 09:13:22 pm
ok, thats what i've said in my second reply :wink:

Thank you for the confirmation  :wink: