picture file size limit picture file size limit
 

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

picture file size limit

Started by batfastad, August 18, 2005, 02:53:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

batfastad

Hi guys

Just got coppermine installed and working

Is there a way to increase the file size limit in coppermine?

Most digital cameras nowadays take pictures around about the 3MB mark.


The php.ini setting for file upload size is 5MB on my installation.


I'd say 95% of people using my gallery system, won't know hoe/be bothered to batch resize sets of hundreds of pictures.


Is there a way to have it so that even if they upload a 3MB file, it then gets resized and stored as a more sensible size, say no greater than 1mb?
So coppermine is doing the resizing for them, but making it completely transparent.


Thanks

Ben

Nibbler

This is available in the next version of Coppermine, 1.4

batfastad

Sweet!!!

I managed to change the file size limit to 3MB which seems to do the trick for the time being.
But obviously there's no need for the 3MB files to be on the webserver. Seeing as GD is resizing them for thumbnails anyway, it may as well resize the main image too.

Thanks for the info


Ben