- Contributors: pluginkollektiv
- Tags: lazy, load, loading, performance, images
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8CH5FPR88QYML
- Requires at least: 3.6
- Tested up to: 4.7
- Stable tag: 1.0.4
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Lazy load images. Simple to use: activate, done. Search engine and noscript user friendly.
Crazy Lazy helps increasing the performance of your blog or website by displaying images efficiently. When a page would usually display some images, Crazy Lazy will prevent those images to load. Only when a user scrolls down the page and reaches the position where an image actually should be displayed, that particular image will be loaded from the server.
By loading images only when needed, Crazy Lazy will reducing page loading times and (potentially costly) traffic.
Placeholders for images can be styled, i.e. like this:
border: 1px dashed #dbdbdb;
background: url(/wp-includes/images/wpspin-2x.gif) no-repeat center center;
background-size: 16px 16px;
It's possible to exclude some images from the lazy loading. This can be achieved by adding an attribute
data-crazy-lazy="exclude" to the images that should not lazy loaded by the plugin.
- Community support via the support forums on wordpress.org
- We don’t handle support via e-mail, Twitter, GitHub issues etc.
- Active development of this plugin is handled on GitHub.
- Pull requests for documented bugs are highly appreciated.
- If you think you’ve found a bug (e.g. you’re experiencing unexpected behavior), please post at the support forums first.
- If you want to help us translate this plugin you can do so on WordPress Translate.
- If you don’t know how to install a plugin for WordPress, here’s how.
Frequently Asked Questions
Will this plugin lazy load all the images on a page?
All images that have been uploaded into your media library, including featured images.
Will I have to edit any theme template files to make this work?
Usually no. If Crazy Lazy doesn’t work out of the box, check your active theme’s
footer.php template file. There should be a line calling
wp_footer() in it which is required for Crazy Lazy to work properly.
Will Crazy Lazy work well with any caching plugins?
Crazy Lazy will work with every caching plugin, including our own Cachify.
- fixed duplicate replacements of a single image
- fixed some cases with HTML attributes not being closed correctly
- fixed an unescaped slash in the regular expression
- fixed a formatting error in the regular expression replacement
- new regex to match images and preventing duplicate replacements
- added an option to exclude images from lazy loading by using a special attribute
- fixed a bug in the regex
- translated README
- updated plugin authors
- Removed support for WordPress’ native galleries after some users had reported issues
- WordPress 4.0 Support
- Lazy Loading for WordPress-image-gallery
- Smooth fadein of images
- Unveil.js-library modifications
- Support of more formats for the img-tags
- Hot Fix for faulty WordPress-function
- Move to WordPress.org
- More on Google+