Multi Image Selector

This plugin allows selection of multiple images from the camera roll / gallery in a cordova app
rensanning0.0.13
platforms: android
$ cordova plugin add com.rensanning.cordova.multi-image-selector

Cordova MultiImageSelector Plugin

Description

Cordova Android Plugin for select multiple images from Gallery. This plugin developed from existing Android open source library MultipleImagePick. Also this plugin uses Universal image loader library for asynchronous loading and caching.

Usage

window.plugins.multiImageSelector.getPictures(
    function(results) {
        for (var i = 0; i < results.paths.length; i++) {
            alert('Image URI: ' + results.paths[i]);
        }
    }, function (error) {
        alert('Error: ' + error);
    }, {
        type: "multiple",
        limit: 10,
        cancelButtonText: "取消",
        okButtonText: "确定",
        titleText: "选择图片",
        errorMessageText: "选择图片的个数超过了上限~!"
    }
);