sirilius / watermarkktp

Watermark KTP is a free and secure web-based tool that allows you to add a watermark to your scanned KTP (Indonesian ID card).
https://watermarkktp.com
MIT License
382 stars 79 forks source link

Specify input file to only accept image #16

Closed emsifa closed 3 years ago

emsifa commented 3 years ago

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 as accept="image/jpeg,image/png" or accept="image/*", so users can easily find the image that they want to use.

sirilius commented 3 years ago

Thanks for the suggestion, I've added it.