Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select only jpg jpeg images

// Specific image type
<input type="file" name="myImage" accept="image/png, image/gif, image/jpeg" />
// All images
<input type="file" name="myImage" accept="image/*" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #jpg #jpeg #images
ADD COMMENT
Topic
Name
2+3 =