[ 
https://issues.apache.org/jira/browse/CB-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610023#comment-14610023
 ] 

Prashant Musale commented on CB-6117:
-------------------------------------

I am using following environment
cordova-plugin-file 2.1.0 "File"
cordova-plugin-file-transfer 1.2.0 "File Transfer"
Cordova version 5.1.1

After downloading file when i call entry.entry.toInternalURL(), i got following 
URL
cdvfile://localhost/persistent/Android/data/com.erelego.vijayavani/files/1435752526361.jpg
I am saving this URL in DB.
But when i try to display it using <img 
src=cdvfile://localhost/persistent/Android/data/com.erelego.vijayavani/files/1435752526361.jpg
 />
It gives error saying file not found 404.

> cdvfile file url is not working with html5 image src
> ----------------------------------------------------
>
>                 Key: CB-6117
>                 URL: https://issues.apache.org/jira/browse/CB-6117
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Plugin File Transfer
>    Affects Versions: 3.4.0
>         Environment: Appears to be Android < 4.0.0
>            Reporter: rita
>            Assignee: Ian Clelland
>            Priority: Critical
>
> Hi 
> I had used the fileTranser APi to download the image from a given path.
> The image was downloaded at the path 
> cdvfile://localhost/persistent/SPB/ics-android.png.
> But I am unable to access this image as url for <img> tag in html.Same code 
> was working till 2.9.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to