static void

File API



The Jasny port of Bootstrap has a good wrapper for this.

jQuery validation has a problem with the html5 "accept" attribute- it expects the format jpg|png|gif not a MIME type. Quick fix: accept="image/*, jpg|png|gif"