Files
cinny/src
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-12-20 20:47:51 +05:30
2023-01-14 18:51:42 +05:30
2022-02-21 21:29:17 +05:30
2022-12-20 20:47:51 +05:30
2022-08-19 12:15:22 +05:30