SVGMagic is a simple jQuery plugin that searchs for SVG images (including background-images) on your website and creates PNG versions if the browser doesn’t support SVG.
Wondering why you should use SVG images? SVG images are vector based! Meaning that they will be as sharp as hell no matter how big they are. In other words: one file for every size.
Just download the SVGMagic.js script include it and initialize it.
$(document).ready(function(){ $('img').svgmagic(); });
SVGMagic will now check every image on your page and changes it to a PNG version if the browser doesn’t support SVG.
SVGMagic