forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Fabrian on January 27, 2006, 04:08:35 pm

Title: 1024 max pic upload
Post by: Fabrian on January 27, 2006, 04:08:35 pm
Is the 1meg pic upload limit really the max?  I've searched and read some sticky's but I can't seem to find any info on changing the max pic upload past 1meg.
Title: Re: 1024 max pic upload
Post by: Nibbler on January 27, 2006, 04:27:44 pm
Look at the config page, you can set the upload limits there. If you mean the quota then you can change that on the groups page.
Title: Re: 1024 max pic upload
Post by: Fabrian on January 27, 2006, 04:56:54 pm
Under config, the help displayed for "max size for uploaded files" says:

"Max size for uploaded files (KB)
Any file with a file size larger than this value will be rejected by the coppermine script. Setting this option to a higher value than what is actually supported by your webserver will only result in "funny" webserver error messages in lieu of "regular" coppermine error messages. Therefore, it is recommended that you set this value to a size that is slightly lower or equal to the max file size that your server is set to handle. The actual size your server can handle cannot be determined by Coppermine (or any PHP script) - when in doubt, contact your webhost.

Prior to an FTP upload of files, it is recommended that the admin use their imaging software to resize (individually or by batch processing) larger files to a more practical size. This will facilitate the FTP process and the creation of intermediate pictures and thumbnails."

If I change this setting to any other higher number, the upload fails.  I would like to make it possible for uploads to be a max of something higher, say a max of 5 megs.

Title: Re: 1024 max pic upload
Post by: Joachim Müller on January 27, 2006, 04:59:59 pm
The sky is the limit if you have a webserver config that can handle larger file uploads and a really fast internet upstream connection. You (as Coppermine admin) should use FTP-upload plus batch-add anyway (refer to the docs for details). For details on webserver configuration (what webserver settings may keep you from uploading large pics even if you have increased max values in coppermine's config), refer to the sticky thread on this board.
Title: Re: 1024 max pic upload
Post by: Fabrian on January 27, 2006, 05:01:34 pm
Ok, Thank you.
Title: Re: 1024 max pic upload
Post by: globetrotter on January 28, 2006, 01:05:47 am
I've set up a website for people in my school so most likely they know very little about computers or how to resize pictures. If I just set the disc qouta to some really high number it won't really affect anything in a negative way? Since the 1024 qouta is way too small (Less then 2 pictures taken on a 4meg camera) and coppermine would be a really crappy program if it was recommended that you don't go above 1024.
Title: Re: 1024 max pic upload
Post by: Nibbler on January 28, 2006, 01:09:53 am
Set it to a sensible number based on the amount of disk space you have available and the number of users you are anticipating.