馃悰 [Bug] Avatar upload - handle large filesizes and error exceeding the limit
Created by: Tirokk
Authored by ulfgebhardt Closed
馃悰 Bugreport
Avatar upload - handle large filesizes and error exceeding the limit
Uploading Avatar images over a certain treshhold will result in an error. The error massage is not good readable, we have to find a different solution for that. And afterwards one can not upload an image again !!!
-
Define Filesize limit (on backend) -
Handle File exceeding that limit -
Display proper error Message (toast?) -
Make sure functionality is not blocked once an error regarding filesize occured
Steps to reproduce the behavior
3 MB
Bildschirmfoto 2018-03-19 um 10.23.37.png
File is too big (2.83MiB). Max filesize: 0.5MiB.
Expected behavior
Should work ;-)
Additional context
See https://github.com/Human-Connection/Human-Connection/pull/605#pullrequestreview-241640341