tn4foxxah
tn4foxxah

Reputation: 297

cordova phonegap wp8 svg broken in image tag

I am programming a wp8 app and use svg's in image tags like so

<img src="images/logo.svg" />

When I open it in the browser of my windows phone everything looks fine, but when I run it as an app the images show up as broken links.

The weird thing is that a remote svg like this works fine as well (also with the exact same file)

<img src="http://upload.wikimedia.org/wikipedia/commons/8/84/Example.svg" />

Has somebody had this problem as well? PNG for example works locally and remotly.

Upvotes: 2

Views: 1499

Answers (1)

Dnyan Waychal
Dnyan Waychal

Reputation: 1418

Just remove the xml start tag from the SVG image

Upvotes: 6

Related Questions