file input terima jpg jpeg png php

<input type="file" name="myImage" accept="image/png, image/gif, image/jpeg" />
 Run code snippet
Lazy Locust