Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A html5 web app for mobile safari to upload images from the Photos.app?

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.

like image 707
Abhic Avatar asked Oct 08 '10 15:10

Abhic


People also ask

How do I upload a picture from my gallery to a website?

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.


2 Answers

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)

like image 147
Alexandre Avatar answered Oct 20 '22 00:10

Alexandre


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).

like image 42
Josh Avatar answered Oct 20 '22 00:10

Josh