Cordova / Phonegap - WP8 - Problems loading external images (URL)

0

I'm having trouble with Cordova / Phonegap with WP8.

If you try to create a page and load an image from the internet (% with% with URL), WP8 does not display the image, only when the image is in the <img> folder. I need to know what to do to resolve this because iOS and Android platforms load normally.

Does anyone know how to solve it?

    
asked by anonymous 07.05.2015 / 00:57

1 answer

1

Normally, for you to have access to external images via the img tag, make sure you have

<access origin="*" />

in the config.xml

In the case of img in the local folder, on Android and iOS it recognizes, folders usually without the need to put the path from the root www, but in some cases as with audio files it needs to put the full path.

Ex.

  

'/ android_asset / www / audio / cd1 / intro.mp3'

    
07.05.2015 / 06:02