The error messages need to be more useful to users... For example:

"The uploaded image(1828x300) is too large (max 1024x1024)."

In this case, it should have said "the administrator has limited the size of images that can be uploaded. please contact him or her (link) if you would need help."

Or "The image file you are trying to upload is too big."

This is obviously too big, since I don't know what about it is too big or what the limits are. It should read more like "The image your tried to upload (is too wide|tall)(is more than XXX K) and needs to be changed in order to be uploaded."

Comments

killes@www.drop.org’s picture

Project: Gallery » Image

Gallery was the wrong module I believe.

willmoy@www.civicspacelabs.org’s picture

"The image file you are trying to upload is too big" would be a bad message, because it would get confused with file size (which there is also a limit on).

Stefan Nagtegaal’s picture

Component: User interface » gd toolkit
Status: Active » Fixed

Fixed in HEAD some time ago.

Anonymous’s picture

Status: Fixed » Closed (fixed)