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: [Solved]: Image size update in the DB  (Read 3116 times)

0 Members and 1 Guest are viewing this topic.

waster

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved]: Image size update in the DB
« on: July 14, 2004, 12:08:18 am »

how can i update the image size from many pictures without creating the album new!?
for example: i have upped a lot of pictures an created an album... then i have compressed all pictures, changed the resolution and overwritten the old files by uploading with an FTP client.... but in the database are saved the old resolutions...

so how can i update the resolutions in the database from many files?

thanks for answers and sorry for bad english
« Last Edit: July 16, 2004, 01:56:24 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Image size update in the DB
« Reply #1 on: July 14, 2004, 09:03:53 am »

well, you shouldn't have fiddled with the files by ftp once they are in the database. You could re-create the intermediate size pics and thumbnails using the "Admins tools" (resize utility), but I guess that was not your question.

GauGau
Logged

waster

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Image size update in the DB
« Reply #2 on: July 14, 2004, 11:40:43 am »

no not really :-)

but maybe you can add a feature which update the picture size from an album in the database in a future version of the coppermine gallerie!?

that would be great :D
Logged

Nibbler

  • Guest
Re: Image size update in the DB
« Reply #3 on: July 14, 2004, 11:39:11 pm »

It's already in a future version of coppermine, based on this bit of code.
Logged

waster

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Image size update in the DB
« Reply #4 on: July 16, 2004, 12:01:00 pm »

thank you very much Nibbler!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.