iconic / SVGInjector

Fast, caching, dynamic inline SVG DOM injection library
MIT License
975 stars 145 forks source link

Internet Explorer 9 compatibility #40

Open postleonardo opened 8 years ago

postleonardo commented 8 years ago

I'm using SVG Injector and it works perfectly on IE 10 +, but on IE 9 SVGs are not loading. I inspected the source and I realized SVG Injector is using a base64 image. According to this, base64 is not supported on IE 9. So, I assume the only way to use SVG Injector on IE 9 is through fallbacks?

waruyama commented 5 years ago

This issue is old so probably this answer caomes a bit late. If you need IE9 compatibility you may want to take a look at https://github.com/iconfu/svg-inject , which is a SVG injector that is compatible with IE 9 and even provides a fallback for IE 7/8