Gallery upload large images gives error #2015
Posted: Wed Jul 03, 2013 10:36 pm
CMSMS 1.11.7, Gallery 1.6.1 (Both latest).
I have a client who is trying (unsuccessfully) to upload an image 4.8MB in file size and 6144 x 4096 Pixels (25.17 MPixels). It is failing with Error generating resized image. Resizing: Error #2015. This error is coming from the SWFUpload code which is installed as part of Gallery.
I have spotted a bug report in the forge which deals with exactly this case.
http://dev.cmsmadesimple.org/bug/view/8802
The (closed) bug response gives a link to a Google post which explains a way of altering an Flash Action Script (.as) file to resolve the issue. This is OK if we had access to these files but we don't - they are (presumably) embedded in the swfupload.swf that is installed with Gallery.
Any ideas how I can overcome the #2015 error?
(Apart from reducing the size of the image before uploading - client would find that difficult).
As an aside, I notice that SWFUpload (used to upload images in Gallery) is no longer being actively developed and is considered insecure. WordPress have forked it to produce a more secure version which is available to download:
http://make.wordpress.org/core/2013/06/ ... swfupload/
That same post also mentions a different preferred upload plugin, http://plupload.com/
Are there any plans to upgrade Gallery to use either the secure version of SWFUpload, or something like http://plupload.com/ - or can it be integrated with the File Manager in OneEleven?
BTW I have quite a few clients using Gallery, it's a great module, thanks for making and updating it!
I have a client who is trying (unsuccessfully) to upload an image 4.8MB in file size and 6144 x 4096 Pixels (25.17 MPixels). It is failing with Error generating resized image. Resizing: Error #2015. This error is coming from the SWFUpload code which is installed as part of Gallery.
I have spotted a bug report in the forge which deals with exactly this case.
http://dev.cmsmadesimple.org/bug/view/8802
The (closed) bug response gives a link to a Google post which explains a way of altering an Flash Action Script (.as) file to resolve the issue. This is OK if we had access to these files but we don't - they are (presumably) embedded in the swfupload.swf that is installed with Gallery.
Any ideas how I can overcome the #2015 error?
As an aside, I notice that SWFUpload (used to upload images in Gallery) is no longer being actively developed and is considered insecure. WordPress have forked it to produce a more secure version which is available to download:
http://make.wordpress.org/core/2013/06/ ... swfupload/
That same post also mentions a different preferred upload plugin, http://plupload.com/
Are there any plans to upgrade Gallery to use either the secure version of SWFUpload, or something like http://plupload.com/ - or can it be integrated with the File Manager in OneEleven?
BTW I have quite a few clients using Gallery, it's a great module, thanks for making and updating it!