Hacker News new | comments | show | ask | jobs | submit login

> For some time, all major browsers already support SVG.

Not time enough. Plenty of people still use IE8, which doesn't.

You can use SVGWeb as fallback solution for IE6-8 user: http://code.google.com/p/svgweb/

If your SVG file is properly crafted (viewBox & maybe preserveAspectRatio attributes) then you can do this:

    <object type="image/svg+xml" width="640" height="480" data="http://example.com/image.svg">
        <img src="http://example.com/image.png"/>

Applications are open for YC Winter 2019

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact