Download & Extend

JAIL / Lazy Load Formatter

JAIL (Javascript Asynchronous Image Loading) is a technique created by Sebastiano Armeli-Battana to replace jQuery Lazy Load. Lazy Load was a great script but was abandoned and Sebastiano created JAIL to fill the void. The technique stops the browser from loading images that are not in the view port and loads them as they come into view.

What this module does is add a formatter to the Image field type that allows you to specify it as a JAIL image. You are also able to choose the appear method (Show, Slide, or Fade). In the settings you can check the box for user images.

To manually add a JAIL image, use href-data instead of src, put a placeholder in the src, and add the lazy class like so: <img data-href="path/to/the/real/image.gif" src="path/to/placeholder.gif" class="lazy">

Please Note: The JS will need to be downloaded, renamed to jquery.jail.js and placed in a folder named 'jail' that resides in a library folder. Example:
/sites/all/libraries/jail/jquery.jail.js

Sponsorship:
Recent work by svajlenka has been sponsored by Metal Toad Media.
Recent work by catch on the JAIL module has been sponsored by ITV via Tag1 Consulting.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.3 tar.gz (10.04 KB) | zip (10.94 KB) 2011-Dec-23 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (10.96 KB) | zip (12.14 KB) 2012-Jun-26 Notes

Project Information


Maintainers for JAIL / Lazy Load Formatter

  • svajlenka - 5 commits
    last: 47 weeks ago, first: 49 weeks ago
  • catch - 13 commits
    last: 1 year ago, first: 1 year ago
  • danlinn - 5 commits
    last: 1 year ago, first: 2 years ago

Issues for JAIL / Lazy Load Formatter

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here