HTML5 web app to upload images to server

Zerotoinfinity picture Zerotoinfinity · Jan 18, 2012 · Viewed 8.5k times · Source

Is it possible to create an HTML5 application/website for mobile(android, Iphones, IPad) which will allow user to upload pictures from their mobile to server?

I am not looking for pure app, it could be a website hosted on any server.

Though, I am looking for my ASP.NET application but I believe that if I get solution for HTML, that would also be fine because I heard that mobile safari doesn't support upload in IPhone

Answer

toytoy picture toytoy · Nov 9, 2012

iOS 6 supports uploading a file if it's implemented using HTML 5.

Just add the usual <input type="file" /> tag to your form. When user's click this they'll be prompted to either select an existing photo or take a new photo with the camera.