I am trying to display images from my ionic app in in a similar fashion to the below:-
<ion-header>
<ion-navbar>
<ion-title>Blah/ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<div id="image">
</div>
</ion-content>
and in my typescript file, I write the following:-
LoadImage(hash, id){
document.getElementById("image").innerHTML = '<img src="'+ img_URL + '" />';
}
However, using this method ends up with the image link being broken, and in debugging with js, a 403 error pops up. what is the correct method to display an image from an external source?
Thanks in advance.