Posted by timebandit at 21:05 on 23rd Aug 2009
Hi
Downloaded and installed this great application/scipts.
I have come into some problems. My pictutues are in high resolution and file size.
File size is aprox 3MB and resolution is as high as 2592 x 1944. These files can't be uploaded throu Shutter.
If I change the resolution of the pictures and size comes around 2MB it works as it should.
Do you have any solution for my problems?
I can mail you a sample of my pictures if you need...
Upload pictures bigger than ~3MB?
Posted by timebandit at 21:13 on 23rd Aug 2009
The problem seems to be on files bigger than 2MB and not 3MB.
Posted by timebandit at 21:39 on 23rd Aug 2009
Found a solution but I don't know if it's the right way to go. In admin.php there are defualt numbers at 2*1024*1024.
I changed it to 6*maxreshight*maxreswidth and it works for now.
Posted by timebandit at 23:15 on 23rd Aug 2009
That didn't to the trick all around :(
I have pictures up to 6MB and I can't get these to be uploaded with changing the admin.php.
Tried to change the values in php.ini too but I can't make this to work with imagefiles over 5MB.
Any solution?
Posted by timebandit at 16:28 on 24th Aug 2009
Can't edit a post.... Found the solution... There is a .htaccess file that I missed in the Shutter directory...
Posted by Egg at 13:57 on 25th Aug 2009
Sorry for the lack of assistance.
There is indeed a 2mb limit on v0.1.2 that is listed in both .htaccess and admin.php files.
I will increase this to 5mb (as was my intial plan, not sure where I got 2mb from!) for the next release.
Posted by drothe at 18:59 on 12th Sep 2009
I edited both the .htaccess and the admin.php files and the script allows uploading of larger files. The only trouble is that once upload is completed, no picture appears. I think this is due to the php.ini max_execution_time or max_input_time variables being set too low (which I unfortunately cannot change). I've seen "chunked" download routines which get around server php time limits by handling downloads as many small pieces - I'm guessing this upload problem could be fixed a similar way (although coding such a thing would be beyond me right now).
Posted by drothe at 20:23 on 13th Sep 2009
I got it working - I got my web server admin to increase some values in my php.ini. This didn't solve the problem so I finally figured out that there are two places in the admin.php which limit filesize. Once that was changed, no problems with 5 meg photos.
Reply To This Topic
You must log in or register to reply to this topic.


