Re: Questions on image resize
There is,but there isn't, but there will be.
There is, because if you load the image as a background or as content within a pseudo-element, you can swap it out with media queries.
There isn't a built-in way to swap out content images loaded with the <img> tag.
There will be soon, as the W3C recently made the <picture> element a recommendation, so it will be arriving in Webkit/Blink soon, and it's already arrived in FF's nightly builds.