Auto resizing pictures on upload Auto resizing pictures on upload
 

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

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