Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
Boosthelper crawls the URL of a newly created/edited node immediately, instead of waiting for the next cron run. Also immediately recrawls the front page if Boost set to "Clear the front page cache when promoted". Also clears all (public only) organic groups cached pages that the node appears in and immediately recrawls them.
Works with or without Pathauto.
Respects node access permissions. (e.g. Private og posts will not be cached.)
Successfully tested on stand-alone Drupal 6.19 and 6.20 installations with Boost 6.x-1.18 and Boost 6.x-1.x-dev2011-Feb-25.
Also successfully tested on Aegir 1.0 rc7 managed Drupal 6.19 and 6.20 sites with boost 6.x-1.x-dev2011-Apr-12 and provision_boost 6.x-0.5.