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 resize picture  (Read 3145 times)

0 Members and 1 Guest are viewing this topic.

tizio

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Auto resize picture
« on: November 29, 2004, 12:48:31 am »

Hi guys
my web host admit me to use the GD function, but the script can use only 12 MB of the server memory, so I've put the picture limit size to 1024KB (because if it's more, then the server return me the exhausted memory error)...is there any mod that auto resize my picture if I try to upload one that is more than 1024KB (the limit)???
Thanks a lot
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Auto resize picture
« Reply #1 on: November 29, 2004, 01:51:28 am »

The devel version (1.4) has an auto-resize function if an image is greater than a certain dimension, but not by filesize.  It should accomplish the same thing, though.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

tizio

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Auto resize picture
« Reply #2 on: November 29, 2004, 11:13:01 am »

...mmmm....If it's so, mine is not working.
I've put the "Max size for uploaded files (KB)" higher than my file and I've reduced the "Max width or height for uploaded pictures/videos (pixels)", but when I go to upload a file that is bigger then the "Max width or height for uploaded pictures/videos (pixels)", it return this erroer "Pixel allowance exceeded."........wher's the auto-resize???
Thanks
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Auto resize picture
« Reply #3 on: November 29, 2004, 11:30:31 pm »

Quote
The devel version (1.4)
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.