Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Can't show images from Android storage

$
0
0

@sandovaldanilo wrote:

Hey,

I'm developing an app where users can choose a photo from their gallery to use as a profile photo. I'm using cordova-plugin-camera to get this image and I'm having some problems with displaying it. I tracked the issue down and it seems to be related with an impossibility to show images from the device internal storage.

In my case, I'm trying to display an image located in file:///storage/emulated/0/DCIM/Camera, but the app doesn't show the image, just a broken link and the alt attribute on the img tag.

I've tried setting in both src and ng-src and the problem remains the same.

I'm testing it in a Samsung Galaxy S3 running Cyanogenmod 13.0 (Android 6.0.1). Any suggestion on how to solve this? Thanks in advance.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>