You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/12/16 11:31:47 UTC
[GitHub] jcesarmobile commented on issue #340: FILE URI Not showing in
tag - Android
jcesarmobile commented on issue #340: FILE URI Not showing in <img> tag - Android
URL: https://github.com/apache/cordova-plugin-camera/issues/340#issuecomment-447635863
I can't reproduce with this code:
```
navigator.camera.getPicture(function(url){
console.log(url);
var img = document.getElementById("result");
img.setAttribute("src", url);
}, function(err){
console.log(err);
},
{
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.PHOTOLIBRARY
});
```
And this img tag in my index.html
`<img id="result" src="">`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org