Uses media queries to change the source of the image based on attributes of the image.