For websites with many pictures, it is necessary to add a lazy loading function, which can reduce server pressure to a certain extent.Speed up website opening speed. In fact, this problem can be easily solved through code. For those experts who insist on not using plug-ins, take a look at other articles on this site. This article is written for novice users.

Lazy loading is a very important function. There must be more than one plug-in that implements this function. What we are going to introduce today isLazy Load, why should I introduce this? It’s not because this plug-in is simple and easy to use.
The Lazy Load plug-in was developed by the TechCrunch 2011 redesign team of the Automattic VIP service team and Jake Goldman of 10up company (who I don’t know either), and it sounds very high-end.
How to use Lazy Load image lazy loading plug-in
Directly search for Lazy Load in the background, install and enable it, go to the page with many pictures in the foreground and refresh it, and the effect will appear. It is so simple and crude.
One thing to note is that this plug-in was last updated on 2012-9-4, but there is still no problem using it in the latest WordPress 3.9.1. Plug-ins written by experts are just different. It is still easy to use even if it has not been updated for two years.
Okay, now it’s time for someone to worry. What should I do if the gadget becomes incompatible? Of course, it won’t work with cold salad. Here are a few spare ones. If the gadget is incompatible that day, try the following ones. This is the benefit of plug-ins.
Implement lazy loading of WordPress images without plugins
If you don’t want to use a plug-in, we can use the ngx_pagespeed or mod_pagespeed module to automatically implement lazy loading of images through the server. For usage methods, please refer to this site’sHow to use PageSpeedarticle.
Chrome now supports lazy loading of native images
Chrome 75 and later versions provide us with native lazy loading support for images. We only need toloadingThe property is set tolazyto turn it on. WordPress 5.5 already supports this feature by default.
<img src="celebration.jpg" loading="lazy" alt="..." />
