Tatoeba / tatoeba2

Tatoeba is a platform whose purpose is to create a collaborative and open dataset of sentences and their translations.
https://tatoeba.org
GNU Affero General Public License v3.0
678 stars 131 forks source link

Add a user friendly warning/error message when uploading a "too large" avatar image #3110

Closed cblanken closed 3 months ago

cblanken commented 3 months ago

Story or Context When uploading an avatar image, if the image is too large, the user is redirected to a plain nginx error page as shown below. image

Idea It would be much more user-friendly if the avatar upload page provided a simple error message (see example below), preferably with the image size limitation as well. image


Alternatively it could redirect to a more friendly error page that maintained the regular styling of the site like the 404 error page. image

cblanken commented 3 months ago

Oops. Just realized this is a duplicate issue. See issue #3100