Attribute-based image source replacement, good for client-side responsive fanciness