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: Auto resizing pictures on upload  (Read 3150 times)

0 Members and 1 Guest are viewing this topic.

yrosanel

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Auto resizing pictures on upload
« on: July 19, 2004, 02:59:39 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Auto resizing pictures on upload
« Reply #1 on: July 19, 2004, 03:09:06 pm »

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

Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.