Files
cinny/src/app
Stefano Pigozzi 9a34daa2bc Set accept attribute to image/* in ImageUpload (#989)
That way, browsers will suggest to the users to upload an image file instead of any kind of file.

The behaviour is in-line with Element's, which specifies the same attribute when selecting an avatar.

Please note that it does not prevent users from uploading non-image files as avatars, as browsers interpret that attribute as a mere suggestion, which can be bypassed in the file select dialog.

Partially fixes #982.
2023-01-15 09:44:16 +05:30
..
2022-09-05 08:30:45 +05:30
2023-01-14 18:51:42 +05:30
2021-11-19 13:20:34 +05:30