7

I'm using the latest version of Phonegap and trying to build an app where users can select and upload multiple images from their gallery. Problem is, users may need to select tons of images, similar to the facebook app. Does phonegap allow this, or is this functionality that can only be done in an native app?

Any help is appreciated.

ShoxV
  • 93
  • 1
  • 1
  • 5

1 Answers1

9

As far as I know this has to be done as a custom plugin. The core phonegap plugins do not allow for this.

My company has written a plugin that allows multiple images to be selected for iOS and Android. It can be found here: https://github.com/wymsee/cordova-imagePicker

ActuallyAllie
  • 106
  • 1
  • 1
  • 2
  • Thank you!. Just a suggestion: On Android would raise this error (caused by cordova bug): No installed handlers for this URL when using 'resolveLocalFileSystemURL'https://issues.apache.org/jira/browse/CB-6345. To avoid this you should include this plugin org.apache.cordova.file-system-roots or update the file plugin to version 1.0.2 (dev version).You could include this information in your project!. Hope it helps other people. – Esteban Cacavelos Apr 04 '14 at 04:13
  • 1
    Hi how to convert to base64 string image? instead of return file uri – user998405 Jun 23 '14 at 08:38