Get new jQuery plugins just once a week

×

Foresight-js

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.

Download

Example

foresight-js

Serve High-Resolution images to iDevices

Foresight-js

Related posts:

Fullcalendar
impressR
countUp-js
foresight-js

http://jquer.in/wp-content/uploads/2012/09/foresight-js.jpg

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever