blog
copyright ©
creamu Inc. All Rights Reserved.
art direction & design: Kunitaka Kawashimo
code, interaction & photography: creamu Inc.
category: Technology

retina.js – Retina用に高解像度の画像を表示するJavaScript

Pocket

Retinajs retina.jsは、Retina用に高解像度の画像を表示するJavaScriptです。
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.
とのことで、ページロード時に高解像度の画像があるかをチェックして、ある場合はそれを表示するようです。 retina.js is a JavaScript serves a high-resolution version of an image for a retina display.
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.
retina.js