Sean Thompson
Sean Thompson

Reputation: 902

SVGs not showing in Windows Phone 8 Phonegap app

Can't seem to find any answers on this.

Developing an HTML5 app with Phonegap and using SVG images. Saving them from Adobe Illustrator's "Save as.." and then using them like normal images in the HTML:

<img src="img/the_image.svg" />

They show up fine in Android and iPhone but Windows Phone 8 shows them as broken links. Anything I'm doing wrong? Does WP8 not support SVGs this way?

Upvotes: 5

Views: 1566

Answers (1)

Dnyan Waychal
Dnyan Waychal

Reputation: 1418

remove the starting XML tag from the SVG image.

<?xml version="1.0" encoding="utf-8"?>

Upvotes: 10

Related Questions