Skip to content

rensanning/cordova-plugin-MultiImageSelector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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: "选择图片的个数超过了上限~!"
    }
);

About

Cordova MultiImageSelector Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published