

SVGMagic
SVGMagic is a simple jQuery plugin that searches for SVG images on your website and creates PNG versions if the browser doesn't support SVG.
Cost / License
- Free
- Open Source (Apache-2.0)
Platforms
- Self-Hosted
Features
- SVG to PNG
- Support for SVG
Tags
- SVG
- jquery-plugin
- svg-fallback
- fallback
SVGMagic News & Activities
Recent activities
SVGMagic information
What is SVGMagic?
SVGMagic is a simple jQuery plugin that searches for SVG images (including background- and inline dataimages) 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. See it yourself: (assuming you are now using a browser that understands SVG images)
Where the magic happens...
SVGmagic checks if your visitor's browser understands SVG images. If it doesn't it will start replacing and converting all SVG images to PNG versions! First of all the script will check which images on your website are SVG and collects their URLs. These URLs are then send to our server which will temporarily download, convert and save them. When that's done the server sends back a package with new URLs. The SVG images on your website than get replaced by the new PNG images and your old-school visitor can see the 'SVG' images.

