| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/plugins/jetpack/modules/ |
Upload File : |
<?php /** * Module Name: Lazy Images * Module Description: Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once. * Jumpstart Description: Lazy-loading images improve your site's speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once. * Sort Order: 24 * Recommendation Order: 14 * First Introduced: 5.6.0 * Requires Connection: No * Auto Activate: No * Module Tags: Appearance, Recommended * Feature: Appearance, Jumpstart * Additional Search Queries: mobile, theme, fast images, fast image, image, lazy, lazy load, lazyload, images, lazy images, thumbnail, image lazy load, lazy loading, load, loading */ /** * This module relies heavily upon the Lazy Load plugin which was worked on by * Mohammad Jangda (batmoo), the WordPress.com VIP team, the TechCrunch 2011 * redesign team, and Jake Goldman of 10up LLC. * * The JavaScript has been updated to rely on InterSection observer instead of * jQuery Sonar. Many thanks to Dean Hume (deanhume) and his example: * https://github.com/deanhume/lazy-observer-load */ require_once( JETPACK__PLUGIN_DIR . 'modules/lazy-images/lazy-images.php' ); /* * Initialize lazy images on the wp action so that conditional * tags are safe to use. * * As an example, this is important if a theme wants to disable lazy images except * on single posts, pages, or attachments by short-circuiting lazy images when * is_singular() returns false. * * See: https://github.com/Automattic/jetpack/issues/8888 */ add_action( 'wp', array( 'Jetpack_Lazy_Images', 'instance' ) );