You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ripple.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2014/04/02 18:07:23 UTC
[jira] [Commented] (RIPPLE-58) [Image Capture] Image preview is not
rendered
[ https://issues.apache.org/jira/browse/RIPPLE-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957827#comment-13957827 ]
Sergey Grebnov commented on RIPPLE-58:
--------------------------------------
Here is a fix
https://github.com/apache/incubator-ripple/pull/20
> [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)