Linux 软件免费装
Banner图

Lazy Load for Images

开发者 jumedeenkhan
mozedia
更新时间 2024年5月5日 12:45
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.5.2
版权: GPLv3 or later
版权网址: 版权信息

标签

lazyload compress images lazy load image optimization lazy load for images

下载

1.3.4 1.4.0 1.4.1 1.4.2 1.5

详情介绍:

Lazy Load for Images plugin make lazy load WordPress Images with less then 2kb small pure javascript code, no need jQuerry. It's help to increase performance of your website and make it fast loading and improve your website SEO rankins. This plugin make lazy load of all type images like thumbnail, post content images, avatars, gravatars, widget images .etc. All images load only when users scroll down and they are on viewport. It's SEO and user friendly, working well with all browsers. This plugin is structured very simple and does not need any settings. Activate it, Done!
Lazy Load for Images - Features & Advantages
  • Load images only when required.
  • Improve page loading speed.
  • Reduce no. of HTTP requests.
  • Lazy load also working on mobiles.
  • Plugin used pure JS, no need of jQuery.
  • Plugin used less than 2kb Javascript.
  • Also support Gravatar.
  • Also support Genesis Framework.
  • SEO friendly (search engine optimized).
  • Worked great with genesis framework.
  • No need configurations (Just activate it, It's Done!)
  • Of course, available on GitHub
Simply install the plugin to enjoy a faster website. No options are available : you install it and the plugin takes care of everything.

安装:

Installing this plugin - Simple
  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Lazy Load for Images and click "Install now"
  2. Activate plugin, All Done!.
  3. No need any manual configurations. Enjoy!
Need more help? Feel free to open a support ticket. Missing something? If you would like to have an additional feature for this plugin, let me know

升级注意事项:

1.5
  • Tested for WordPress 6.5.2
  • PHP Improvements for latest version.
  • Javascript Improvement.
  • Convert functions into class.
  • Performance improvement.
  • Fix image size for null sizes
  • Change placeholder to SVG
  • Some more improments, Enjoy!

常见问题:

Does this plugin lazy load all images on a post?

Yes, All images that uploaded via you media library loaded with lazy load, with featured images. and this plugin also support Genesis Framework speciailly.

How can I deactivate Lazy Load on some images?

Simply add a data-no-lazy="1" attribute tag in your specific image.

How can I deactivate Lazy Load for some images?

You can use no-lazyload class in images.

How can I deactivate Lazy Load on some pages?

You can use this filter to exclude lazy load images. add_filter( 'lazy_load_for_images', '__return_false' ); If you want stop lazyload on special pages, use it. add_action( 'init', 'deactivate_lazy_load_for_images' ); function deactivate_lazy_load_for_images() { if ( is_single() ) { // apply filter here add_filter( 'lazy_load_for_images', '__return_false' ); } }

How do I lazy load other images in my theme?

If lazy load not working for your theme, you can add a add_filter in plugin class PHP files at hooks section, i.e. like this: add_filter( 'post_thumbnail_html', array( __CLASS__, 'enable_lazy_load_for_images' ) );

How can I use custom placeholder image or GIF?

By default, we use "data:image/gif;base64" or SVG for placeholder image. You can change via Plugin Code.

Does this plugin work with any caching plugins?

Yes, Lazy Load Images plugin work very well with every cache plugin.

更新日志:

1.5 1.4.2 1.4.0 1.3.4 1.3.3 1.3.0 1.2.0 1.0.0