JavaScript Library For SVG Fallback with PNG Images – Check SVG

Category: Image , Javascript | May 8, 2015
Author:
Views Total: 1,696
Official Page: Go to website
Last Update: May 8, 2015
License: MIT

Preview:

JavaScript Library For SVG Fallback with PNG Images – Check SVG

Description:

Check SVG is a lightweight yet useful JavaScript library that checks and provides a PNG fallback for your SVG images in old browsers.

How to use it:

Upload SVG & PNG images into your web server. Make sure the images are in the same folder and have the same file name, e.g. 1.svg, 1.png.

Include the check-svg.js JavaScript library in the document.

<script src="check-svg.js"></script>

That’s it. The check-svg.js will take care of the rest.

You Might Be Interested In:

Leave a Reply