Reproduce: activate the upload module, configure it, and upload an image with large dimensions (2500x2000 px), as attachment. Depending on your memory limit, you will have memory exhausted error in image.inc.

Expexted behaviour: at upload fields there is a comment stating a limit for size in MBs. For pictures, it might give also info or limit on dimensions, because dimensions are the real constrains on possible uploads, in case of images.

What's happening: Pictures with large dimensions can not be uploaded, even if its size is far less then the limit in field comment.

Probably during the conversion of large dimensions the memory limit is reached, even for small size images.

Comments

drewish’s picture

Status: Active » Closed (won't fix)

that totally depends on your image toolkit. if you're using imagemagick it's not a problem because it runs outside of PHP's memory limits.