Automatically resizing/deleting original images on upload.. Automatically resizing/deleting original images on upload..
 

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]

Main Menu

Automatically resizing/deleting original images on upload..

Started by turtleboy, June 12, 2004, 02:57:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

turtleboy

I was wondering if there was anyway to do this in 1.3.0

I tried the method that worked in 1.2.1 as discussed in this thread:
http://forum.coppermine-gallery.net/index.php?topic=464.0

But it did not work, is there any way to implement this in 1.3.0?

Joachim Müller

resize on upload is in the works for the next version of coppermine.

GauGau

GGallery

somehow related: is there a way to have cpg automatically convert all uploaded pics to jpg (normal/thumb/original)?

hyperion

Yes.

You do it with GD by changinf the write method. (imagepng() becomes imagejpeg())

In IM, you alter the destination filename by changing it's extension to .jpg, which tells image magick to make it a jpeg.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)