Auto resizing pictures on upload Auto resizing pictures 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

Auto resizing pictures on upload

Started by yrosanel, July 19, 2004, 02:59:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yrosanel

Hi,

I'd like to know how to automaticaly resize the pictures that my users are posting. If you could like send me a script to do it directly. The problem is that I can't access to the php.ini file so I can't change the max memory size... When a user upload a picture with a size of 350Ko or more I get the error :

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 6144 bytes) in /home/vhosts/lironeline.net/rosanel/htdocs/yossi/include/picmgmt.inc.php on line 202

So if you could send me a script to resize the image (in 640X480) directly when the users are uploading there files.

Thx

Joachim Müller

The feature you're requesting is being discussed for a future version of coppermine, it currently doesn't exist. As a workaround, you could post a howto on your site to explain users how they can downsize pics on their client before uploading.

GauGau