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

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"/>
    </object>



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

Search: