Currently, the input file doesn't have an accept attribute that specifies file types. It makes file browser show any files to the user. Since we only need an image, we can specify it such as accept="image/jpeg,image/png" or accept="image/*", so users can easily find the image that they want to use.
Hello @sirilius
Currently, the input file doesn't have an
accept
attribute that specifies file types. It makes file browser show any files to the user. Since we only need an image, we can specify it such asaccept="image/jpeg,image/png"
oraccept="image/*"
, so users can easily find the image that they want to use.