BeWelcome / rox

:earth_africa: BeWelcome lets you share a place to stay, connect with travellers, meet up and find accommodation on your journey. It is and will always be a free, open source, non for profit, democratic community.
https://www.bewelcome.org
GNU General Public License v2.0
188 stars 54 forks source link

No error message to inform user that uploaded image is more than 2MB #302

Closed nciemniak closed 9 months ago

nciemniak commented 1 year ago

Image uploads are required to be 2MB or smaller in size. Yet on the "Gallery -> Upload Image" page (https://www.bewelcome.org/gallery/upload_multiple), if user tries to upload larger image, no error message is given, only thing that indicates that something is wrong is that nothing happens upon pressing "Upload Image."

Users who are not tech savvy may not know how to check image size, would be nice to at least show error to say why image cannot be uploaded.

Eventually, would be nice to add functionality that compresses or resizes any uploaded image such that it is <2 MB, but first priority is adding the error message.

nciemniak commented 1 year ago

Hmm, this may also be fixed in beta as well, since I am seeing a message show up when I run the app locally 🤔