Sergey Grebnov created RIPPLE-58:
------------------------------------

             Summary: [Image Capture] Image preview is not rendered
                 Key: RIPPLE-58
                 URL: https://issues.apache.org/jira/browse/RIPPLE-58
             Project: Apache Ripple
          Issue Type: Bug
         Environment: Windows8.1 x64, Chrome Version 33.0.1750.154 m and Chrome 
Canary Version 33.0.1750.154 m
            Reporter: Sergey Grebnov


I'm using the code below to capture the image and found out that after I 
selected a file it is not rendered under Ripple for preview. It seems to be 
because <image> tag is used for preview element. If I replace it with <img> the 
image selected is successfully rendered.

navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
    destinationType: Camera.DestinationType.FILE_URI });

function onSuccess(imageURI) {
    alert('imageURI: ' + imageURI);
}

function onFail(message) {
    alert('Failed because: ' + message);
}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to