Made the error message more verbose if uploading a too small of an image