Menu

A currated repository of web design tools and resources that I use...

Retina.js

March 14, 2015 - CSS, HTML, Javascript
Retina.js

This is a Javascript solution to retina images. It isn’t my favorite solution but I do use it on smaller sites where the assets aren’t database driven.

retina.js is an open source script that makes it easy to serve high-resolution images to devices with retina displays. When your users load a page, retina.js checks each image on the page to see if there is a high-resolution version of that image on your server. If a high-resolution variant exists, the script will swap in that image in-place.

Daniel Posted by

Leave a Reply

Your email address will not be published. Required fields are marked *