Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 674
Sean Thompson Avatar asked Dec 11 '13 17:12

Sean Thompson


1 Answers

remove the starting XML tag from the SVG image.

<?xml version="1.0" encoding="utf-8"?>
like image 84
Dnyan Waychal Avatar answered Nov 14 '22 21:11

Dnyan Waychal