You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ripple.apache.org by "Brent Lintner (JIRA)" <ji...@apache.org> on 2014/04/25 00:21:15 UTC

[jira] [Closed] (RIPPLE-58) [Image Capture] Image preview is not rendered

     [ https://issues.apache.org/jira/browse/RIPPLE-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brent Lintner closed RIPPLE-58.
-------------------------------

    Resolution: Fixed

> [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)