{"id":24992,"date":"2013-08-29T06:36:49","date_gmt":"2013-08-29T06:36:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/crazy-lazy\/"},"modified":"2021-01-28T20:13:44","modified_gmt":"2021-01-28T20:13:44","slug":"crazy-lazy","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/crazy-lazy\/","author":14478331,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"5.6.17","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"Crazy Lazy","header_author":"pluginkollektiv","header_description":"","assets_banners_color":"d9bd96","last_updated":"2021-01-28 20:13:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=TD4AMD2D8EMZW","header_plugin_uri":"https:\/\/crazylazy.pluginkollektiv.org\/","header_author_uri":"https:\/\/pluginkollektiv.org\/","rating":4.5,"author_block_rating":0,"active_installs":500,"downloads":52565,"num_ratings":14,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.0.8":{"tag":"0.0.8","author":"sergej.mueller","date":"2014-04-21 13:50:58"},"0.0.9":{"tag":"0.0.9","author":"sergej.mueller","date":"2014-09-02 18:48:22"},"0.0.9.2":{"tag":"0.0.9.2","author":"Kau-Boy","date":"2016-08-16 12:50:44"},"1.0.0":{"tag":"1.0.0","author":"Kau-Boy","date":"2016-08-16 12:56:27"},"1.0.2":{"tag":"1.0.2","author":"Kau-Boy","date":"2016-08-26 09:56:38"},"1.0.4":{"tag":"1.0.4","author":"Kau-Boy","date":"2019-03-22 13:19:23"},"1.0.5":{"tag":"1.0.5","author":"pluginkollektiv","date":"2020-06-28 16:00:09"},"1.1.0":{"tag":"1.1.0","author":"pluginkollektiv","date":"2020-06-28 17:53:07"},"1.2.0":{"tag":"1.2.0","author":"pluginkollektiv","date":"2021-01-28 20:13:44"}},"upgrade_notice":[],"ratings":{"1":"1","2":"1","3":0,"4":0,"5":"13"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2464497,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2464497,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2464497,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2464497,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.8","0.0.9","0.0.9.2","1.0.0","1.0.2","1.0.4","1.0.5","1.1.0","1.2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[163,20766,6582,4469,247],"plugin_category":[50,54],"plugin_contributors":[77798],"plugin_business_model":[],"class_list":["post-24992","plugin","type-plugin","status-publish","hentry","plugin_tags-images","plugin_tags-lazy","plugin_tags-load","plugin_tags-loading","plugin_tags-performance","plugin_category-media","plugin_category-security-and-spam-protection","plugin_contributors-pluginkollektiv","plugin_committers-kau-boy","plugin_committers-pluginkollektiv"],"banners":{"banner":"https:\/\/ps.w.org\/crazy-lazy\/assets\/banner-772x250.png?rev=2464497","banner_2x":"https:\/\/ps.w.org\/crazy-lazy\/assets\/banner-1544x500.png?rev=2464497","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/crazy-lazy\/assets\/icon-128x128.png?rev=2464497","icon_2x":"https:\/\/ps.w.org\/crazy-lazy\/assets\/icon-256x256.png?rev=2464497","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Warning: <em>Crazy Lazy<\/em> has reached end of life. WordPress 5.5+ supports <a href=\"https:\/\/make.wordpress.org\/core\/2020\/07\/14\/lazy-loading-images-in-5-5\/\">lazy-loading of images in Core<\/a> based on the native HTML <code>loading<\/code> attribute. If you look for an alternative plugin, we recommend to use <a href=\"https:\/\/wordpress.org\/plugins\/lazy-loading-responsive-images\/\">Lazy Loader<\/a> instead.<\/strong><\/p>\n\n<p><em>Crazy Lazy<\/em> helps increasing the performance of your blog or website by displaying images efficiently. When a page would usually display some images, <em>Crazy Lazy<\/em> 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.<\/p>\n\n<p>By loading images only when needed, <em>Crazy Lazy<\/em> will reducing page loading times and (potentially costly) traffic.<\/p>\n\n<p>This Lazy Load plugin is structured very lean and does not require any settings: activate, done. Depending on the theme or the usage of jQuery <em>Crazy Lazy<\/em> optionally will utilze a modified version of the jQuery plugin <a href=\"https:\/\/github.com\/luis-almeida\/unveil\">Unveil.js<\/a>, or the native JavaScript library <a href=\"https:\/\/gist.github.com\/miloplacencia\/3931803\">lazyload.js<\/a>.<\/p>\n\n<h3>Styling<\/h3>\n\n<p>Placeholders for images can be styled, i.e. like this:<\/p>\n\n<pre><code>img[src*='data:image\/gif;base64'] {\n    border: 1px dashed #dbdbdb;\n}\n\nimg.crazy_lazy {\n    background: url(\/wp-includes\/images\/wpspin-2x.gif) no-repeat center center;\n    background-size: 16px 16px;\n}\n<\/code><\/pre>\n\n<h3>Excluding images<\/h3>\n\n<p>It's possible to exclude some images from the lazy loading. This can be achieved by adding a data attribute <code>data-crazy-lazy=\"exclude\"<\/code> or <code>data-skip-lazy<\/code> to the images that should not lazy loaded by the plugin.\nAlternatively you can add a CSS class <code>crazy_lazy<\/code> or <code>skip-lazy<\/code>. These CSS classes can also be added to the image block.<\/p>\n\n<h3>Support<\/h3>\n\n<ul>\n<li>Community support via the <a href=\"https:\/\/wordpress.org\/support\/plugin\/crazy-lazy\">support forums on wordpress.org<\/a><\/li>\n<li>We don\u2019t handle support via e-mail, Twitter, GitHub issues etc.<\/li>\n<\/ul>\n\n<h3>Contribute<\/h3>\n\n<ul>\n<li>Active development of this plugin is handled <a href=\"https:\/\/github.com\/pluginkollektiv\/crazy-lazy\">on GitHub<\/a>.<\/li>\n<li>Pull requests for documented bugs are highly appreciated.<\/li>\n<li>If you think you\u2019ve found a bug (e.g. you\u2019re experiencing unexpected behavior), please post at the <a href=\"https:\/\/wordpress.org\/support\/plugin\/crazy-lazy\">support forums<\/a> first.<\/li>\n<li>If you want to help us translate this plugin you can do so <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/crazy-lazy\">on WordPress Translate<\/a>.<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li>Author: <a href=\"https:\/\/sergejmueller.github.io\/\">Sergej M\u00fcller<\/a><\/li>\n<li>Maintainers: <a href=\"https:\/\/pluginkollektiv.org\/\">pluginkollektiv<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>If you don\u2019t know how to install a plugin for WordPress, <a href=\"http:\/\/codex.wordpress.org\/Managing_Plugins#Installing_Plugins\">here\u2019s how<\/a>.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='will%20this%20plugin%20lazy%20load%20all%20the%20images%20on%20a%20page%3F'><h3>Will this plugin lazy load all the images on a page?<\/h3><\/dt>\n<dd><p>All images that have been uploaded into your media library, including featured images.<\/p><\/dd>\n<dt id='will%20i%20have%20to%20edit%20any%20theme%20template%20files%20to%20make%20this%20work%3F'><h3>Will I have to edit any theme template files to make this work?<\/h3><\/dt>\n<dd><p>Usually no. If Crazy Lazy doesn\u2019t work out of the box, check your active theme\u2019s <code>footer.php<\/code> template file. There should be a line calling <code>wp_footer()<\/code> in it which is required for Crazy Lazy to work properly.<\/p><\/dd>\n<dt id='will%20crazy%20lazy%20work%20well%20with%20any%20caching%20plugins%3F'><h3>Will Crazy Lazy work well with any caching plugins?<\/h3><\/dt>\n<dd><p>Crazy Lazy will work with every caching plugin, including our own <a href=\"https:\/\/wordpress.org\/plugins\/cachify\/\">Cachify<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>1.2.0<\/h3>\n\n<ul>\n<li>Fix PHP warning due to undefined index (#37, #38) - thanks to Rouven Hurling<\/li>\n<li>Add EOL notice to the admin area recommending Lazy Loader as an alternative<\/li>\n<\/ul>\n\n<h3>1.1.0<\/h3>\n\n<ul>\n<li>add support for image block using a skip-class<\/li>\n<\/ul>\n\n<h3>1.0.5<\/h3>\n\n<ul>\n<li>add support for new skip data attribute \"data-skip-lazy\" and CSS class \"skip-lazy\"<\/li>\n<\/ul>\n\n<h3>1.0.4<\/h3>\n\n<ul>\n<li>fixed duplicate replacements of a single image<\/li>\n<\/ul>\n\n<h3>1.0.3<\/h3>\n\n<ul>\n<li>fixed some cases with HTML attributes not being closed correctly<\/li>\n<\/ul>\n\n<h3>1.0.2<\/h3>\n\n<ul>\n<li>fixed an unescaped slash in the regular expression<\/li>\n<\/ul>\n\n<h3>1.0.1<\/h3>\n\n<ul>\n<li>fixed a formatting error in the regular expression replacement<\/li>\n<\/ul>\n\n<h3>1.0.0<\/h3>\n\n<ul>\n<li>new regex to match images and preventing duplicate replacements<\/li>\n<li>added an option to exclude images from lazy loading by using a special attribute<\/li>\n<\/ul>\n\n<h3>0.1.0<\/h3>\n\n<ul>\n<li>fixed a bug in the regex<\/li>\n<\/ul>\n\n<h3>0.0.9.2<\/h3>\n\n<ul>\n<li>translated README<\/li>\n<li>updated <a href=\"https:\/\/pluginkollektiv.org\/hello-world\/\">plugin authors<\/a><\/li>\n<\/ul>\n\n<h3>0.0.9.1<\/h3>\n\n<ul>\n<li>Removed support for WordPress\u2019 native galleries after some users had reported issues<\/li>\n<\/ul>\n\n<h3>0.0.9<\/h3>\n\n<ul>\n<li>WordPress 4.0 Support<\/li>\n<li>Lazy Loading for WordPress-image-gallery<\/li>\n<\/ul>\n\n<h3>0.0.8<\/h3>\n\n<ul>\n<li>Smooth fadein of images<\/li>\n<li>Unveil.js-library modifications<\/li>\n<\/ul>\n\n<h3>0.0.7<\/h3>\n\n<ul>\n<li>Support of more formats for the img-tags<\/li>\n<\/ul>\n\n<h3>0.0.6<\/h3>\n\n<ul>\n<li>Hot Fix for faulty WordPress-function <code>wp_script_is<\/code><\/li>\n<\/ul>\n\n<h3>0.0.5<\/h3>\n\n<ul>\n<li>Fallback on pure JavaScript<\/li>\n<li>Move to WordPress.org<\/li>\n<li><a href=\"https:\/\/crazylazy.pluginkollektiv.org\/news\/2013\/wordpress-plugin-crazy-lazy-load\/\">Read the realease post<\/a><\/li>\n<\/ul>","raw_excerpt":"Warning: Crazy Lazy has reached end of life. WordPress 5.5+ supports lazy-loading of images in Core based on the native HTML loading attribute.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24992"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pluginkollektiv"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24992"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24992"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24992"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24992"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24992"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}