cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Updated] (CB-7501) FILE_URI Can't view images captured in iOS in HTML
Date Fri, 12 Sep 2014 01:10:34 GMT


Shazron Abdullah updated CB-7501:
    Component/s:     (was: iOS)

> FILE_URI Can't view images captured in iOS in HTML
> --------------------------------------------------
>                 Key: CB-7501
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 3.5.0, 3.6.0
>         Environment: Running app in PhoneGap app for iOS so that I can use the camera.
>            Reporter: Brendan Farr-Gaynor
> Taking a picture with the camera and then trying to assign the FILE_URI to a image tag
(<img>) as the src shows no image, as if the file is missing. A blank image appears.

> What I have tried:
> A fresh hello world app with this example:
> Alerting the path shows paths like: file://var/mobile/Applications/FF974729-CA18-4F48-A535-BB3731E1EF9D/tmp/cdv_photo_002.jpg
> ... but trying to assign that as the src on an image tag does not show the image.
> If I try to assign an image like one in my assets/img folder or an external web address,
that works, but I cannot assign one from the camera.
> I have tried multiple versions and multiple clean apps. After 6 hours of attempting multiple
approaches I feel like this must be a bug in cordova.
> I can access the image for things like file transfers. Eg. I can upload it to a server,
I just can't view it before I do that.

This message was sent by Atlassian JIRA

View raw message