We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right we have no validation of filetype whatsoever. If the user tries to input a non-image file, the interface crashes.
The text was updated successfully, but these errors were encountered:
For this one, you need to add the accept attribute to the <input type="file" here
accept
<input type="file"
idcrop/lib/js/idcrop/IdCrop.js
Lines 152 to 156 in c8e93fb
Check this doc https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file the Limiting accepted file types section.
Limiting accepted file types
Sorry, something went wrong.
No branches or pull requests
Right we have no validation of filetype whatsoever. If the user tries to input a non-image file, the interface crashes.
The text was updated successfully, but these errors were encountered: