I have some problems when I try to upload an image. some extensions do not appear on the Upload Dialog, such as (.djvu, .jp2). How do I accept that without selecting All (.)
Advertisement
Answer
Use the accept Parameter like that:
<input type="file" id="uploader" name="myupload" accept=".djvu, .jp2">