It is a much better idea to use both the file extensions and mime/media types in the accept attribute - this will make it more likely that the files are actually images (and not just files that happen to have the correct extension)
accept
Great. Thanks for the idea.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It is a much better idea to use both the file extensions and mime/media types in the
accept
attribute - this will make it more likely that the files are actually images (and not just files that happen to have the correct extension)Great. Thanks for the idea.