Imager.js is an alternative solution to the issue of how to handle responsive image loading, created by developers at BBC News
<div style="width: 240px">
<div class="delay" data-src="http://placehold.it/{width}"></div>
</div>
<script>
new Imager({ availableWidths: [200, 260, 320, 600] });
</script>
...outputs to...
<div style="width: 240px">
<img src="http://placehold.it/260" data-src="http://placehold.it/{width}" class="image-replace">
</div>
<script>
new Imager({ availableWidths: [200, 260, 320, 600] });
</script>