Is it possible to allow the fileupload control to show only images?
When we click the Browse button it should show only images.
Assuming you mean uploading images only.
You can check the ContentType
property of the file (I.e. image/gif).
Take a look here for an example: https://web.archive.org/web/20100306030822/http://www.15seconds.com/issue/061116.htm
With plain <input type="file">
, I am afraid it's not possible on the client-side.
However, some 3rd party uploader such as SWFUpload provides this functionality.