i building app ionic , cordova. managed access camera roll , give user possibility manually select 1 photo. however, not sure how access of photos automatically, without human interaction. llike append them array in code further processing. found plugin, not work me:
https://github.com/driftyco/cordova-camera-roll
thank you.
you can maximum select 10 image @ time.
use multiple image picker plugin select upto 10 images.
github link- https://github.com/wymsee/cordova-imagepicker
installation -
phonegap plugin add https://github.com/wymsee/cordova-imagepicker.git cordova plugin add https://github.com/wymsee/cordova-imagepicker.git
example -
window.imagepicker.getpictures( function(results) { (var = 0; < results.length; i++) { console.log('image uri: ' + results[i]); } }, function (error) { console.log('error: ' + error); }, { maximumimagescount: 10, width: 800 } );
Comments
Post a Comment