Upload error for large images

4 posts by 2 authors in: Forums > CMS Builder
Last Post: December 12, 2013   (RSS)

By pault - December 5, 2013

Hi,

I'm having problems with CMS Builder when trying to upload large images.  These are not necessarily large files but rather images with a large number of pixels.

For example, if you create an image of 7,000 x 5,000 pixels and try to upload via CMS Builder, it fails.  I think this has something to do with memory running out when manipulating these large file and have read that ImageMagick can be used to overcome such issues.

Are you aware of this problem or how to overcome it?

I've attached a 1Mb image to this post which (for me at least) causes the problem.

Thanks, Paul.

Attachments:

noactest.jpg 1162K

By pault - December 9, 2013

Hi Dave,

Thanks for the reply.  I've worked out that it's not actually the size of the file that's the problem, just the number of pixels.  So, a high quality file that's say 3000 x 2000 pixels and 5Mb would be OK but a lower quality but larger (dimensions) file of say 7,000 x 5,000 but only 1Mb would cause the problem.

The host does have ImageMagick available but I'm not sure how easy it would be to change the CMSB code to use this instead of GD.

Regards, Paul.

By Dave - December 12, 2013

Hi Paul, 

Do you want to email me your FTP & CMS login details to dave@interactivetools.com and we can give it a try?  (Note: Email, don't post login details to the forum).

If a test script shows it's more memory efficient to use ImageMagik we might make that available as an option for future CMSB releases.

Thanks!

Dave Edis - Senior Developer
interactivetools.com