phonegap build version 8.0.0 problem to attach image from android library

0

Starting with the new version of phonegap 8.0.0 navigator.camera.getPicture (I can take pictures and then see them

var cameraImage = document.getElementById('image');
// Unhide image elements
//cameraImage.style.display = 'block';
// Show the captured photo
// The inline CSS rules are used to resize the image
//
var item = images.push(imageURI);
var newHtml = "<span id='" + item + "'><img  style='width:50%;height:auto;
display:inline-block;' src='" + imageURI + "'>&nbsp;<a href='#' 
onclick='elimina(" + item + ");'>Eliminar</a><br><br></span>";
                $("#images").append(newHtml);

But when it comes to attaching an image from the library, it returns a imageURI content: //com.android.providers.media.documents/document/image%3A2480, it does not show me the image .

    
asked by Guillem 04.04.2018 в 18:25
source

0 answers