vdj4y
vdj4y

Reputation: 2669

windowsphone cordova image tag is not loading

i am developing an app that take image from public government website and render it in my app. This not AJAX, just and src.
The contents are 100% public and free. It works fine with ios and android , but with wp8, the image just doesnt want to load.
I have try to render it in canvas, but it seems this is due to internal settings in WP

my example code is as simple as this

<img src='http://example-gov.jpeg'/>

Upvotes: 1

Views: 299

Answers (1)

Nurdin
Nurdin

Reputation: 23883

whitelist external URL

open your config.xml and edit this line

<access origin="*" />

Upvotes: 1

Related Questions