I'm really impressed with Gallery2 and its modular structure.
I've upgraded from version 1 and am runnign into a bit of difficulty uploading 6 Megapixel images over 2MB. I searched for a solution (of course :wink: ) and found this:
Why can't I upload big files (over a megabyte or two)?
Craig Goranson wrote a very informative email (http://marc.theaimsgroup.com/?l=gallery-users&m=102589601604892&w=2) about how to fix this issue.
Gallery tries to override the upload_max_filesize and post_max_size directives in its .htaccess file. This means that changing the setting globally may still result in it being overridden at the .htaccess level, so you may want to just change the directive there instead of globally. Gallery tries to set both of the directives to about 20 megabytes, so this will only affect you if you're going to upload files over that size.
If you're using Apache 2, especially with something like RedHat, you may need to edit another directive, LimitRequestBody, as described in this forum post (http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=7419). Setting this directive to 0 (i.e. LimitRequestBody 0) will allow you to upload as big a file as you want (until you hit upload_max_filesize and/or post_max_size -- see the above email link for more information).
This seems helpful but specific to gallery 1 as I cant seem to find any .htaccess file in the new version. Gallery 1 had it in the root directory.
So is this information still relevent to Gallery 2 ??
I've already had my administrator bump the upload limit up to 16MB so that shouldn't be any sort of issue.
How to get around this one so I can upload pics over 2MB (essential for how I'm using Gallery) ??
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.devaswami.com/pictures
Gallery version: latest version 2 pre-release
Apache version: Apache/1.3.33
PHP version (don't just say PHP 4, please): PHP/4.4.0
Graphics Toolkit: GD, ImageMagick, NetPBM
Operating system: FreeBSD 4.11-STABLE #1
Web browser/version (if applicable): Firefox