Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you try to upload an image without filling in the description field, the upload will fail without telling you why. It would be a good idea to make the description field required so this doesn't happen.
Comments
Comment #1
swentel CreditAttribution: swentel commentedBetter descriptions are now provided:
Empty description: You need to enter a description for the image.
Empty image: The image is empty.
Image with errors (eg wrong extension): The image is invalid. Only JPG, PNG and GIF images are allowed.
Comment #3
MrHaroldA CreditAttribution: MrHaroldA commentedAfter uploading a PNG file, I get the error "The image is invalid. Only JPG, PNG and GIF images are allowed." which didn't help me discovering public://sweaver wasn't writable ;)
Sweaver has the same error message for all errors:
I suggest changing that to:
(sorry, don't have time to create a patch on the -git version)