Is it possible to write a HTML5 web application designed for the iOS devices (iPad, iPhone, iPod Touch) which can allow the user to upload an image from the filesystem?
Imagine uploading a new photo to your twitter avatar via a web app.
Upload using an FTP program or image hosting service. Use your web server's hyperlink function to link your URL. Alternatively, link to the image using the page's HTML code. You must be able to identify the image's permanent location to be able to serve it to your visitors.
UPDATE: iOs 6 Safari is going to support upload videos and images from the Photo Library.
====
I hate this word, but, it's impossible (up now). Here is the reasons:
1) mobile safari doesn't support upload anything.
2) mobile safari can't access ios components (actually it can, but, only through phonegap)
another way to approach this problem would be to give users a private email address that they can email their photos to for automatic upload (eg. [email protected]).
A little more work to set up, but will give a consistent experience for users on all devices (and non-mobile users might find it convenient too).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With