I'm developing an iOS & Android mobile app with Cordova, and i'm facing a problem with saving and displaying a picture taken from camera or camera roll, and saved locally.
I've already seen other conversations on the subject :
Save image in local storage phonegap
Capturing and storing a picture taken with the Camera into a local database / PhoneGap / Cordova / iOS
I'm using the scripts described in these conversations which are good, but finally can't achieve to display the saved pictures.
I know pictures have been successfully saved in a persistent folder on my iPhone, i can see them, using iExplorer software, in my app subfolders, for example : Documents/MyApp/cdv_photo_002.jpg
And i save in my localStorage the fullPath of the local picture and obtain something like : file:///var/mobile/Containers/Data/Application/4E70258E-8060-48A6/Documents/MyApp/cdv_photo_002.jpg
When i try to put this path in an img src, nothing is displayed as if the picture did not exist or not having this path...
How can i display my local pictures ?