Glad to see the browsers supporting modern hardware in a more reasonable way, but for most non-photo images, this seems like a better strategy:<p><img
src = "my_icon.svg"
this.onerror = "my_icon.png"
/><p>SVG is future-proof, scaling elegantly to match whatever display it's being viewed on. And, if you don't care about supporting older versions of IE, you can skip the onerror, leaving you with only one asset per image to maintain.