@taylormaster wrote:
Hi!
Here are code:
$scope.selImages = function() { document.addEventListener("deviceready", function () { var options = { quality: 50, destinationType: Camera.DestinationType.DATA_URL, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, targetWidth: 100, }; $cordovaCamera.getPicture(options).then(function(imageData) { $scope.image = imageData; }, function(err) { // error }); }) }
<div> <img class="pix-zone-pix" ng-src="{{image}}"/> </div>
and the answer on image
so how to display selected image? or imageData(url)?
Posts: 1
Participants: 1