Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Auto resizing pictures on upload  (Read 3040 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.016 seconds with 15 queries.