aceitar apenas arquivo de entrada de imagem
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
AhmedElkaiass
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
<input type="file" name="myImage" accept="image/*" />
<input type="file" accept="image/*">