HTML apply a filter I think u are looking for the accept parameter. Try this works <input type=”file” accept=”image/*” />