Display image selected from ImagePicker


#1

I am using the ImagePicker plugin to select images and at the moment I just want to display them. The plugin gives me back a URI like file:///data/user/0/io.ionic.starter/cache/tmp_filename.jpg. Putting this URI into an img tag doesn’t seem to do anything. I have tried dozens of different variations with src, ng-src, [src] and none of that works. I am not sure what I am supposed to be doing with this URI.


#2

Can you post the code you have written so far? The answer kind of depends on your approach.


#3

It turned out to be a live reload issue. It works fine when I build and run it without live reload.


#4

That’s good to hear sir