Is there a way to interact with the iPhone/iPad camera roll/photo library purely using HTML5/ javascript right from the browser? I am working on a HTML5 web app and want to avoid PhoneGap at this point.
So far, I have been able to take a picture from the camera and/or load a picture from the gallery into the browser using the File API, but there is no handle(like image name or other unique identifier) to access the file later. Getting the image's data uri and storing in localStorage works, however, with this approach there are size limitations and hence it won't work for a large number of images.
All I want to do is associate a few images (either from the gallery or taken from the camera) with an identifier, be able to store them offline, access and upload when the device has network access.
Alternatively, is there a way to store the images in any other folder instead of the default Camera Roll and get path to the files stored there?
Any pointers would be appreciated.