jQuery Picture

Markups

<figure title="..."
    data-media="small.jpg"
    data-media1200="medium.jpg"
    data-media2400="large.jpg">
    <noscript>
        <img src="large.jpg" alt="...">
    </noscript>
</figure>
<script>
$(function() {
    $('figure').picture();
});
</script>

Feature