carlos-sanchez
11/12/2013 - 6:11 PM

With this technique svg graphics scale up as you zoom in. It is dependent on JS because it uses onerror.

With this technique svg graphics scale up as you zoom in. It is dependent on JS because it uses onerror.

<img src="image.svg" onerror="this.src='image.png'; this.onerror=null;">