coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: shutiri on June 02, 2004, 05:04:57 AM

Title: picture automatic resize
Post by: shutiri on June 02, 2004, 05:04:57 AM
Hi.

Is there a way to automatically change the size of an uploaded image.  For example, there's people uploading pictures that are 1.5mb.  I don't want to force them to work their pictures to upload a picture of max 200kb, because most of them don't know how to do that.  So, I would like CPG to automatically resize images larger than 200kb to 200kb, constraining proportions.  I'm using IM and CPG 1.2

thank you.
shutiri.
Title: Re: picture automatic resize
Post by: Tarique Sani on June 02, 2004, 06:42:55 AM
This has been answered before - short answer is No! there is no such facility
Title: Re: picture automatic resize
Post by: Joachim Müller on June 02, 2004, 06:50:07 AM
http://forum.coppermine-gallery.net/index.php?topic=464.0

GauGau
Title: Re: picture automatic resize
Post by: shutiri on June 02, 2004, 08:08:51 AM
thank you for that.  in that thread they mention that this code works only with GD2... I've been working hard to enable IM on my galleries and now it is working.  Could I get a similar code that would work with IM somewhere ?

thank you.
shutiri.