Adding In-Line Retina Support For Images Article last updated on November 27, 2016 Posted under: Other You can easily define the retina version for any image inline via the data-at2x data attribute. See the example below: <img src="image-url" data-at2x="retina-image-url">