I am currently developing a mobile app with Apache Cordova in Visual Studio.
I need to load an image from a server so I used this Code:
<img src="http://ddragon.leagueoflegends.com/cdn/6.22.1/img/champion/Annie.png" alt="test"/>
Later on the source for the image will be created dynamic. I tested the code in a blank HTML Document and it worked but in my project it doesnt. Not even the alt text is displayed.
VS gave me the hint to replace the url with the equivalent base64 code and did it automatically and then it worked but this isnt really an option for me. Maybe you cant retrieve Images from URLs this way in Cordova?
This is the only reason I can imagine but I hope you maybe know some others.
Thank you for your help.