Linux 软件免费装
Banner图

Smart LazyLoad – Lazy Load Images, Videos and Iframes

开发者 jumedeenkhan
mozedia
更新时间 2026年1月29日 20:26
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

video images lazyload youtube avatar thumbnails lazy load gravatar iframes

下载

1.3.4 1.5 2.0.0 1.4.0 1.4.1 1.4.2

详情介绍:

Smart LazyLoad is a fast, lightweight, and SEO-friendly lazy loading plugin for WordPress. It improves page speed and Core Web Vitals by loading images, iframes, videos, and background images only when they are about to enter the viewport. Built with pure JavaScript, Smart Lazy Load does not rely on jQuery or other third-party libraries, keeping your site fast and bloat-free. Unlike heavy optimization plugins, Smart LazyLoad focuses on one thing only: reducing unnecessary resource loading while maintaining compatibility, accessibility, and SEO best practices. All features are optional — you can use the plugin with default settings or fine-tune it as needed.

安装:

Automatic Installation
  1. Go to Plugins → Add New in your WordPress admin
  2. Search for Smart LazyLoad
  3. Click Install Now, then Activate
Manual Installation
  1. Download the plugin ZIP file
  2. Upload it to /wp-content/plugins/
  3. Activate the plugin from Plugins → Installed Plugins
  4. Go to the plugin setting page and enable lazy load
  5. Now, lazy loading starts working automatically

屏幕截图:

  • Smart LazyLoad settings page

升级注意事项:

2.0.0
  • Added iframe and videos support
  • Added background image lazy loading
  • Added YouTube thumbnail replacement
  • Improved Core Web Vitals handling
  • Native lazy loading support
  • Cleaner admin UI and settings
  • Performance and security improvements

常见问题:

Does Smart LazyLoad lazy load all images?

Yes. It supports lazy loading for:

  • Post and page content images
  • Featured images
  • Widget images
  • Avatars and comments
  • Background images
You can control what is lazy loaded from the settings page.

How can I exclude a specific image or iframe?

Add one of the following attributes or classes to the element:

  • no-lazyload
  • skip-lazy
  • data-no-lazy
  • data-skip-lazy
You can also use filters:
  • mozedia_lazyload_excluded_attributes
  • mozedia_lazyload_iframe_excluded_patterns

Can I disable lazy loading on specific pages?

Yes. Use the following filter: add_filter( 'do_mozedia_lazyload', '__return_false' ); Or conditionally disable it: add_action( 'wp', 'disable_mozedia_lazyload' ); function disable_mozedia_lazyload() { if ( is_single() ) { add_filter( 'do_mozedia_lazyload', '__return_false' ); } }

Is Smart LazyLoad compatible with caching and optimization plugins?

Yes. It works well with most caching, CDN, and optimization plugins.

Is this plugin SEO-friendly?

Yes. Smart LazyLoad preserves original content using noscript fallbacks, supports native lazy loading, and allows skipping the first image for better LCP performance.

Does it support background images?

Yes. Smart LazyLoad can automatically lazy-load background images defined via the style attribute, such as: ` ` You can also apply it manually yourself. Simply add this special markup to the element on which you want to apply lazy loading: ` `

Can I use a custom placeholder image or GIF?

Yes. Change the SVG placeholder using this filter: add_filter( 'mozedia_svg_placeholder', 'mozedia_replace_image_placeholder'); function mozedia_replace_image_placeholder() { return 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"></svg>'; } Lazy loaded iframes use a separate placeholder value (default: about:blank). You can customize the iframe placeholder using the following filter: add_filter( 'mozedia_lazyload_placeholder', function () { return 'about:blank'; });

What should I do if the plugin is not working?

If Smart LazyLoad plugin is not working as expected, please check the following:

  • Make sure the plugin is enabled
  • Clear browser, plugin, and CDN caches
  • Check if lazy loading is disabled for logged-in users
  • Disable other lazy load plugins to avoid conflicts
  • Ensure elements are not excluded using no-lazy attributes
  • View the page on the frontend (not page builder editor)
If the issue persists, feel free to contact us

更新日志:

2.0.0 1.5 1.4.x 1.0.0