Elias Jo
Posts: 0
Joined: Mon Jan 06, 2014 10:08 pm

How do you access the library of photos on the device and then allow the user to select photos for upload?

We are interest in allowing a user to browse through their existing library of photos and be able to select one or multiple photos that can then be uploaded to our servers.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How do you access the library of photos on the device and then allow the user to select photos for upload?

I think there are two options:

  • You can use the browser File API to select a picture from the file system
  • You can use the PhoneGap Camera component and set the picture source to Library, instead of taking a picture.
Elias Jo
Posts: 0
Joined: Mon Jan 06, 2014 10:08 pm

How do you access the library of photos on the device and then allow the user to select photos for upload?

Is there some documentation on how to use the PhoneGap Camera component? I'm not sure how to even get started using that.

Thanks!

Elias Jo
Posts: 0
Joined: Mon Jan 06, 2014 10:08 pm

How do you access the library of photos on the device and then allow the user to select photos for upload?

I do not see any documentation about the PhoneGap camera component on the link you just provided.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How do you access the library of photos on the device and then allow the user to select photos for upload?

The link takes you to a section that has tutorials on using native APIs, including the Camera component.

Bachi
Posts: 0
Joined: Mon Apr 22, 2013 1:47 am

How do you access the library of photos on the device and then allow the user to select photos for upload?

Hi,
How do I able to add multiple photos at a sametime?
Thank you,
Bachi Nyangar

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How do you access the library of photos on the device and then allow the user to select photos for upload?

Hi Bachi,

Here is doc: http://cordova.apache.org/docs/en/2.5...

You can read any folders/files you need with this File API.

Regards.

Bachi
Posts: 0
Joined: Mon Apr 22, 2013 1:47 am

How do you access the library of photos on the device and then allow the user to select photos for upload?

Yurii,
I looked at this links, unfortunately I don't see if there is any multiple photo upload option it may given. This is the page I want to implement on;
http://appery.io/app14/mobile-frame?s...
Thank you,
Bachi Nyangar

Return to “Issues”