JPG too big for upload?

I am building an image server for business where the user will upload large scanned images - in beta, I tried to upload a 13.9 MB 5921 x 5293 - it freezes on 'creating thumbnail' (using application demo). Is this a problem in swf upload or the php thumbnail generator?

gyphie's picture

PHP

This is a PHP GD 2.0 issue.

Thanks...

Really quick - is there a solution or work-around? I'll just fallback to the standard swfupload if needed, but would like the thumbnails if possible. BTW, does anyone know if there is a java or PHP script that pre-loads the images prior to upload - this would work just as well. Thanks guys and gals!

gyphie's picture

Memory

There are varying reports on this. Some say the limit is like 4000x4000 pixels. I've also heard it's a memory limit issue. PHP does have a memory limit setting in the php.ini that you can try increasing.

I had the same problem

I had the same problem (hanging up on the thumbnail). I had:

memory_limit = 8M

... and couldn't work with large JPEGs so I bumped that up in my php.ini file.

This is all local of course, I sure hope it works on my virtual hosting service o_O