var options = {
maximumImagesCount: 10, //需要显示的图片的数量
width: 800,
height: 800,
quality: 80
};
$scope.getImages = function(){
$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
});
}
|