I have a form file upload. When the users goes to upload an image, it displays all files on their computer. How can I make the HTML upload dialog window to only display JPG, GIF and PNGs?
+3
A:
The file upload dialog in the web browser is outside of your control. You could create a Java applet for uploading images, like Facebook did.
Marcus Adams
2010-06-16 00:43:21
Are you sure it's outside of my control? When I go to http://fotoflexer.com/ and click "Upload Photo", they seem to be limiting uploads based on filetype/extension.
Teddy
2010-06-16 00:45:21
@Teddy, they're using Flash.
Matthew Flaschen
2010-06-16 00:50:29