menerima hanya file gambar yang mengunggah html
<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" accept="image/*">