The quickest solution is to add accept="image/png" to the file input, although we may also want more validation or even conversion at some point to handle a wider variety of cases.
Oh, support for the accept attribute is poorer than I realized. I guess we should also at least add text specifying pngs are required, and improve error messaging on non-pngs.
Image type should be png.
The quickest solution is to add
accept="image/png"
to the file input, although we may also want more validation or even conversion at some point to handle a wider variety of cases.