Get new jQuery plugins just once a week



September 13, 2012

Foresight-js | A js plugin to serve High Resolution images

Foresight-js is a jquery plugin that gives webpages the ability to tell if the user’s device is capable of viewing high-resolution images (such as the 3rd generation iPad / New MacBook) before the image is requested from the server. Additionally, Foresight.js judges if the user’s device currently has a fast enough network connection for high-resolution images. Depending on device display and network connectivity, foresight.js will request the appropriate image for the webpage.
By customizing the img src attribute using methods such as URI templates, or finding and replacing values within the URI, it is able to form requests built for your image’s resolution variants.
It has the following features :-

Similar plugin : Retina-js

Created by Adam Bradley.




Serve High-Resolution images to iDevices


Related posts:

Smooth Products
Placeholder enhanced

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever
Couple Gift Ideas