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 Dave - December 8, 2013

Hi Paul, 

Yes, you're right.  Images are highly compressed files and it's actually the resizing that requires all the memory.  So if you are able to go into the field editor for that section, edit that upload field, and uncheck any options for resizing or thumbnailing.  

If that's not an option, tell your web host you are running out of memory trying to run a PHP script that resizes a 1meg file and you want to know how much memory is allocated to PHP processes and if they can increase it.

Let me know if that works, otherwise we can look into other options such as checking if your host has ImageMagick available.

Dave Edis - Senior Developer
interactivetools.com

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