Published by Mijingo

movie icon image

EE Insider Blog

Spend your time learning and developing sites with ExpressionEngine and we'll use this blog to keep you informed of all the news related to ExpressionEngine and CodeIgniter.

» Read more in the Archives.

» Have a tip? Send us your EE news.

Learn ExpressionEngine Today

Over a series of 8 videos, watch and learn as Ryan builds an entire ExpressionEngine website from beginning to end. Get started now.

Using JAIL in ExpressionEngine

Aaron Gustafson snapped together a nice plugin to easily implement the jQuery Asynchronous Image Loader (JAIL) in your EE templates. JAIL is a “jQuery plugin that lazy load images making your page load faster.”

Aaron’s JAIL plugin (available for free on Github) is a simple tag pair that “will hunt for any image elements inside the tag pair and convert them to use the JAIL markup pattern.”

{exp:easy_jail:prep}
    {body}
{/exp:easy_jail:prep}

You might want to bookmark this. Very handy.

Read Aaron’s write-up about the plugin.

Posted on Jul 25, 2013 by Ryan Irelan

Filed Under: EE Add-ons, EE Plugins