Hi. I've noticed a confusing situation when image uploading.
If we have an image field and we'll set filefield path restrictions on image size like:
* Minimal dimension NxN
* Maximal dimension NxN
For example N equal to 500 and so we have next dimensions for the image: from 500x500 to 500x500.
If we try to load an image with dimensions MxR where M greater than N and R less than M we'll get confusing output like:
https://dl.dropboxusercontent.com/1/view/36p6hz55jmxxdbu/Apps/Shutter/Se...
Looks like it's wrong because image doesn't upload and status message is extra and confusing.
So looks like it should be reworked to not output status message if any error existed.
Comment | File | Size | Author |
---|---|---|---|
#4 | 7.43-confusing-file-size-validation-message-2745751-4.patch | 1.69 KB | IRuslan |
Comments
Comment #2
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commentedFall into the same issue, and there is a patch in the attachment for this.
Comment #4
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commentedRe-upload patch with proper paths.