15
votes
7answers
628 views

How the user should be informed that the file she submitted is not an image?

In a given web application, the user can upload images. Currently, when the user uploads something which is not an image, the JavaScript alert box with the message "Please Select only Image Files!!" ...