html input just images code example
Example: accept only image files upload html
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />