Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Automatically resizing/deleting original images on upload..  (Read 4077 times)

0 Members and 1 Guest are viewing this topic.

turtleboy

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 36
    • SkylineDesigns

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Automatically resizing/deleting original images on upload..
« Reply #1 on: June 17, 2004, 12:34:35 am »

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

GauGau
Logged

GGallery

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 61
Re: Automatically resizing/deleting original images on upload..
« Reply #2 on: June 17, 2004, 12:55:09 am »

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

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Automatically resizing/deleting original images on upload..
« Reply #3 on: June 17, 2004, 01:08:15 am »

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.
Logged
"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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.