Software Archive
Read-only legacy content
17061 Discussions

XDK 3088 with Ionic basic start - images won't display

Karl_R_
Beginner
194 Views

 

1. Create new project
2. Templates \ Layout and user interface
3. Choose Ionic simple "Hello"
4. Customize the page

<br><br><br><br><br><p>Hello World<br>  <img src="http://URL/myImage.jpeg"></p>
 
full Image URL is reachable from the browser .  Emulation works and image comes up on the phone display.

But when run on actual device, or debug and image does not appear or is broken.
I get    index.html:1 GET http://URL/myimage.jpg 404 (Not Found)

So I went to build settings - Cordova Whitelist plugins  and tried with legacy too but nothing works
Network request settings - I set the following
http://*, https://*

Intent - I set the following
http://*

Even still my images still do not download from my webserver in cloud.  

I have also set up my certificates for the android build but that should only apply to production.

Spent too many hours on this, and can't find what the heck is going on. Anyone put me out of my misery?

Cheers

 

0 Kudos
0 Replies
Reply