Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Change image size  (Read 17118 times)

0 Members and 1 Guest are viewing this topic.

binocle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • http://www.surf-bzh.com
Change image size
« 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 ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Change image size
« Reply #1 on: February 01, 2004, 02:34:29 pm »

take a look at the resize pictures (util.php) mod

GauGau
Logged

binocle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • http://www.surf-bzh.com
Change image size
« Reply #2 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:
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Change image size
« Reply #3 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
Logged

binocle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • http://www.surf-bzh.com
Change image size
« Reply #4 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:
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Change image size
« Reply #5 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • http://www.surf-bzh.com
Change image size
« Reply #6 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:
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 18 queries.