URL of Image in media.PhotoLibrary

So i would like to allow the user to take pictures from in the app but i would like to use the device’s media library to store these pictures rather than storing them in the Documents directory of the app and yet from with in the app store a link to the image.

The captureVideo feature supports this … it returns a URL to the video captured that i can store and check its existence by trying to open the file, etc.

I’m having some trouble figuring out how one would do the same kind of thing with pictures.  The two functions media.captureVideo and media.capturePhoto do not seem to be parallel in this.

Any insights are welcome.

Cheers,

m

I wasn’t aware of this but I’ll soon dig into the same feature set so I appreciate your paving the way. Subscribing to this topic!

Poke … please

I believe that CapturePhoto only stores the file in your sandBox. 

It certainly would be nice to fix this API so that one could leave the images in the user’s photo library and just return a stable URL to them.  If the user deletes the image from their library the test for file existence on that link would return nil … 

This way the user can manage pictures outside of the app.

I wasn’t aware of this but I’ll soon dig into the same feature set so I appreciate your paving the way. Subscribing to this topic!

Poke … please

I believe that CapturePhoto only stores the file in your sandBox. 

It certainly would be nice to fix this API so that one could leave the images in the user’s photo library and just return a stable URL to them.  If the user deletes the image from their library the test for file existence on that link would return nil … 

This way the user can manage pictures outside of the app.