The documentation here works great, but when I add the code to my application, the getPhoto part returns 'content://media/external/images/media/16053' and doesn't load the image into the img element, it uploads to the server fine. It's just on my application using onsen does it fail..
photo.html
<img src="{{ image }}" id="uploadImage">
app.js
$scope.onPhotoDataSuccess = function(fileURI)
{
console.log(fileURI);
myNavigator.pushPage('photo.html', {animation : 'none'});
$scope.image = fileURI;
}
I've tried adding a model,var attribute to the img element, but responds with null..