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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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)