Observed behaviour
- Profile will not save and will give an incorrect error.
Expected behaviour
Image saves correctly, or correct error message is given (file resolution too large.) Instead of a "recommended" resolution, perhaps a maximum should be instituted.
Reproduction steps
- Go to your Profile and Change Avatar.
- Select a large resolution image file, such as a wallpaper. Ensure the image is of a valid file type and under the maximum size limit.
- Crop or do not crop, either way, save the image.
- Save your profile. You will receive the error that the Avatar image selected is not a valid file type.
Details
Summary
Using a very large image for the avatar and cropping down, even if it is under the 10MB size limit, will result in an error stating that the file extension is not valid (even if it is). Bringing the total size of the image down to being within recommended specs will eliminate this error.
Area
Frontend / Web
Environment
Desktop Application for Linux Mint 22.3 - Cinnamon 64-bit, linux kernal 6.14.0-37-generic
1 comment
Comment by @pekempy