Using JQuery Asynchronous Image Loader with preloader on resized images

JQuery Asynchronous Image Loader (JAIL) is a jQuery plugin that lazy load images making your page load faster. It works best with a preloader image that is shown while the main image is not yet fully loaded. You can get JAIL from their github page here https://github.com/sebarmeli/JAIL .

This blog shows you how we used this plugin on resized images with a preloader. By resize, we mean using the height/weight attribute of an <img/> element and still use an unresized preloader.