New! Check out Ionic Native. It's like ngCordova but for ES6 and TypeScript.

$cordovaImagePicker

Cordova Plugin For Multiple Image Selection - implemented for iOS and Android 4.0 and above.

cordova plugin add https://github.com/wymsee/cordova-imagePicker.git

Methods

getPictures(options)

Get a list of pictures, with options to limit number, quality, and size of images.

Param Type
options Object
Options Type Detail
maximumImagesCount Integer Max images to be selected
width Integer Width to resize image to (if one of height/width is 0, will resize to fit the other while keeping aspect ratio, if both height and width are 0, the full size image will be returned)
height Integer Height to resize image to
quality Integer Quality of resized image, defaults to 100

Example

module.controller('ThisCtrl', function($scope, $cordovaImagePicker) {

  var options = {
   maximumImagesCount: 10,
   width: 800,
   height: 800,
   quality: 80
  };

  $cordovaImagePicker.getPictures(options)
    .then(function (results) {
      for (var i = 0; i < results.length; i++) {
        console.log('Image URI: ' + results[i]);
      }
    }, function(error) {
      // error getting photos
    });
});