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: HELP- Resizing pics!  (Read 7427 times)

0 Members and 1 Guest are viewing this topic.

harmzz

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
HELP- Resizing pics!
« on: January 21, 2004, 02:32:27 pm »

ok i uploaded images about 5000! over the last few months

they were 800*600 now they taking up about 300mb

also i had done the site is 660 wide so therefore intermidate pics was clicked on for easier viewing and was 640*480

i revied the stats and there no need for the pics to be 800*600

therefore i only require them to be 640*480

the orignal file name is something like

IMGP5297 (Medium).JPG =800*600

normal_IMGP5297 (Medium).JPG=640*480

now if i delete 640*480 one i.e. normal_IMGP5297 and resize and rewrite IMGP5297 (Medium).JPG  so its 640*480 works fine but then u can still click on it to make it 800*600 and bcos its resizedit enlarges the image and  looses quality and looks tacky!

so therfore is there easy way or doing this at all!

as it taking alot of sql space too!

or would be easier somehoe disabling new pop up window when u click an image for full view!

help apperciated thanks
 :D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
HELP- Resizing pics!
« Reply #1 on: January 21, 2004, 04:53:58 pm »

I don't fully understand what you're trying to say, please re-post your question, using single, proper sentences (what you do want? What do you have?).
Post a link to your page as well...

GauGau
Logged

harmzz

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
HELP- Resizing pics!
« Reply #2 on: January 21, 2004, 07:51:52 pm »

double post  :P
Logged

harmzz

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
HELP- Resizing pics!
« Reply #3 on: January 21, 2004, 07:52:09 pm »

:oops: oppsy think me need some sleeeeep

ok let me try this again

ok i got 5000 pics curretnly on my site.... they are 800*600
but i have intermidate pic settings on.. settings for that is 640*480
so basically its wasting alot of space

and now i just want the image as 640*480

so basically i can overwrite the 800*600 with the new 640*480 image via ftp same filenames and all

but then want to delete the intermidate pics created by coppermine!

the only solution i seen is to back up the pictures table.

The soultion i came up with is

upload the pics fresh. delte all the old ones but in the pic talbe the pid i.e. picture id will be different and the caption  ... so therefore need sql or php to update these fields from the old table to the new  :roll: is that any clearer  :shock:  :)
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
HELP- Resizing pics!
« Reply #4 on: January 21, 2004, 08:57:16 pm »

I've never used version 1.1, so I'm not sure tha it has the 'resize pictures' facility, but if it has, you can use this to delete the original size pics, and coppermine just uses the intermediate ones then.

If version 1.1 doesn't have the facility, I suggest you upgrade to version 1.2.1
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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
HELP- Resizing pics!
« Reply #5 on: January 21, 2004, 11:50:54 pm »

if you don't want to upgrade your whole gallery (although upgrading is strongly recommended), you can just use the file "util.php" from the cpg1.2.1 package, put it into your coppermine folder and run it in your browser like this: http://yourdomain.com/coppermine/util.php

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.