Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80BD011583 for ; Fri, 12 Sep 2014 01:10:34 +0000 (UTC) Received: (qmail 60579 invoked by uid 500); 12 Sep 2014 01:10:34 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 60562 invoked by uid 500); 12 Sep 2014 01:10:34 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 60463 invoked by uid 99); 12 Sep 2014 01:10:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 01:10:34 +0000 Date: Fri, 12 Sep 2014 01:10:34 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-7501) FILE_URI Can't view images captured in iOS in HTML MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-7501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-7501: --------------------------------- Component/s: (was: iOS) > FILE_URI Can't view images captured in iOS in HTML > -------------------------------------------------- > > Key: CB-7501 > URL: https://issues.apache.org/jira/browse/CB-7501 > 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 () 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: https://gist.githubusercontent.com/cfjedimaster/af298ed2bd0e3ce3ce54/raw/5e5b7804fb86ebfcf2e03f618a04ba384665134a/gistfile1.js > 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 (v6.3.4#6332)