How to Easily Lazy Load Images in WordPress (2 Ways)
Do you want to learn how to lazy load images in WordPress? Lazy loading allows your website to only load images when a user scrolls down to a specific image, which reduces the website load time and improves website performance. Many popular image-heavy sites use lazy loading to boost website speed and performance. In this article, we will show you how to easily lazy load images in WordPress, step by step. Why Lazy Load Images in WordPress? Lazy loading WordPress images can speed up your website and offer a better user experience. No one likes slow websites. In fact, a performance study found that a 1-second delay in page load time leads to 7% fewer conversions, 11% fewer pageviews, and a 16% decrease in customer satisfaction. Search engines like Google don’t like slow-loading websites, either. This is why faster sites rank higher in the search results. Images take the most time to load on your website compared...
Do you want to learn how to lazy load images in WordPress?Lazy loading allows your website to only load images when a user scrolls down to a specific image, which reduces the website load time and improves website performance. Many popular image-heavy sites use lazy loading to boost website speed and performance.In this article, we will show you how to easily lazy load images in WordPress, step by step.
Why Lazy Load Images in WordPress?
Lazy loading WordPress images can speed up your website and offer a better user experience.No one likes slow websites. In fact, a performance study found that a 1-second delay in page load time leads to 7% fewer conversions, 11% fewer pageviews, and a 16% decrease in customer satisfaction.Search engines like Google don’t like slow-loading websites, either. This is why faster sites rank higher in the search results.Images take the most time to load on your website compared to other web elements. If you add a lot of images to your articles, then each image increases your page load time.One way to handle this situation is to use a CDN service like BunnyCDN. A CDN will let users download images from a web server closest to them and reduce website loading speeds.However, your images will still be loaded and affect the overall page load time. To get past this issue, you can delay image loading by implementing lazy load on your website.How does lazy loading for images work?Instead of loading all your images at once, lazy loading downloads only the images visible on the user’s screen. It replaces all other images with a placeholder image or blank space.As a user scrolls down the page, your website loads images that are visible in the browser’s viewing area.Lazy loading can be very beneficial to your WordPress blog:
It reduces the initial web page loading time so that users will see your site faster.
It conserves bandwidth by only delivering images that are viewed, which can save you money on WordPress hosting costs.
The release of WordPress 5.5 added lazy loading as a default feature.However, if you want to customize how your images lazy load and also lazy load background images, then you will need to use a WordPress plugin.Let’s take a look at how to lazy load images in WordPress using two different plugins. You can use the quick links below to jump straight to the method you want to use:
Lazy Load Images in WordPress With WP Rocket (Recommended)
Lazy Load Images in WordPress With Optimole (Free)
Bonus Tips to Optimize Your WordPress Images
Method 1: Lazy Load Images in WordPress With WP Rocket
We recommend using the WP Rocket plugin to lazy load images in WordPress. It’s the best WordPress caching plugin on the market that lets you easily turn on image lazy loading.Aside from that, it’s a very powerful plugin that helps you optimize your website speed without knowing complex technical terms or configuring expert settings.Right out of the box, all of their default recommended caching settings will greatly speed up your WordPress website.The first thing you will need to do is install and activate the WP Rocket plugin. For more details, you can see our guide on how to install a WordPress plugin.To enable image lazy loading, all you have to do is check a few boxes. You can even enable lazy loading for videos, which will improve your website speed even more.All you need to do is go to Settings » WP Rocket in your WordPress dashboard and click on the ‘Media’ tab. Then, you can scroll to the ‘LazyLoad’ section and check the boxes next to ‘Enable for images’ and ‘Enable for iframes and videos’.For more details, see our guide on how to properly install and set up WP Rocket in WordPress.Note: If you are using Siteground as your WordPress hosting provider, then you can use the free SiteGround Optimizer plugin that has similar lazy loading features.
Method 2: Lazy Load Images in WordPress With Optimole
This method uses the free Optimole plugin. It’s one of the best WordPress image compression plugins that lets you easily enable image lazy loading.If you get over 5,000 visitors per month, then you will need the premium version of Optimole.First, you need to install and activate the Optimole plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.Upon activation, you will see a screen asking you to sign up for an API key. You can also find this screen by navigating to Optimole in the admin menu.You’ll need to make sure that the email address listed is correct and then click the ‘Create & connect your account’ b***on. Alternatively, if you are an existing user, then just click the ‘I already have an API key’ b***on.You may need to wait for a few seconds while the plugin connects to Optimole. After that, the plugin will automatically start to optimize your images so that your visitors will now see the best images for their devices.While that is happening, you can click on the ‘Settings’ tab to configure lazy load.Here, you need to make sure the ‘Scale images and & Lazy load’ setting is enabled. This will generate images based on your visitor’s screen size and improve loading speeds.Next, click on the ‘Advanced’ menu option and select ‘Lazyload’. On this screen, there are a few different settings that let you customize how your images will lazy load.First, you can adjust the ‘Exclude first number of images from lazyload’ setting. This will stop images at the top of your posts or pages from lazy loading, so images above the fold will always appear.You can set this to 0 if you want every image to lazy load.There are a few other advanced lazy load settings in Optimole that you can check. These settings are enabled by default.The first is the ‘Scale Images’ setting. This will scale images to the visitor’s screen size and make your page load faster.After that, you will see the ‘Enable lazyload for background images’ setting. This will lazy load your background images, which may be the largest images on your website.Another setting is lazy loading embedded videos and iframes. If you have a lot of embedded video content, then you will want to leave this setting on. It will load a placeholder image in place of the video. When the placeholder is clicked, the full video will load.You can continue to customize these settings and see what works best for your website and your images.Before you exit the plugin settings, make sure to click the ‘Save changes’ b***on at the bottom of the page.
Bonus Tips to Optimize Your WordPress Images
Although lazy loading will help to improve website loading speed, there are a few other ways to optimize your WordPress images for the best performance.For example, we recommend compressing your images before uploading them to your website using a tool like TinyPNG or JPEGmini. Alternatively, you can use an automated image compression plugin such as Optimole or EWWW Image Optimizer.It’s also important to choose the right WordPress image size and file format for your images. JPEGs are best for photos or images with many colors, PNGs are suitable for simple or transparent images, and GIFs are only for animated images.We hope this article helped you learn how to lazy load images in WordPress. You may also want to see our tutorial on how to easily optimize images for the web without losing quality and our expert picks of the best web design software.If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.The post How to Easily Lazy Load Images in WordPress (2 Ways) first appeared on WPBeginner.
Mesh Wi-Fi is the worst way to start a home network if you can run even one cable
Mesh Wi-Fi is touted as a shortcut for good home Wi-Fi without running cables everywhere, and in some ways, it can be. The hardware has earned a reputation for being pretty decent out of the box, but mesh nodes talk to each other over the same airwaves your phone, laptop,...
Mesh Wi-Fi is touted as a shortcut for good home Wi-Fi without running cables everywhere, and in some ways, it can be. The hardware has earned a reputation for being pretty decent out of the box, but mesh nodes talk to each other over the same airwaves your phone, laptop, and TV are competing for, which could pose performance issues depending on deployment.
فاطمه زهرا كامياران Iran
Published by: aplhsindia.in
I gave my old PC games path tracing with RTX Remix, and they look better than DLSS 5
I've spent the last few weeks forcing DLSS 5 into games that were never designed for it, so naturally, my next terrible idea was to go in the opposite direction. Instead of bringing Nvidia's latest neural rendering tricks to modern games, I decided to see what happens when you give...
I've spent the last few weeks forcing DLSS 5 into games that were never designed for it, so naturally, my next terrible idea was to go in the opposite direction. Instead of bringing Nvidia's latest neural rendering tricks to modern games, I decided to see what happens when you give some of my favorite old PC games a completely new lighting system.
Nadežda Jovanović Serbia
Published by: aplhsindia.in
The Corsair Novablade Pro fightpad has Hall Effect switches and is 25% off
Corsair has brought its fantastic build quality to the fighting game scene, and the result is the Novablade Pro, a feature-heavy fightpad that targets the pros but welcomes anyone chasing frame-perfect combos. Right now, Amazon has knocked the price down to $190, which saves you $60 off the regular $250...
Corsair has brought its fantastic build quality to the fighting game scene, and the result is the Novablade Pro, a feature-heavy fightpad that targets the pros but welcomes anyone chasing frame-perfect combos. Right now, Amazon has knocked the price down to $190, which saves you $60 off the regular $250 list price. That's a solid discount for a premium controller with Hall Effect switches and tri-mode wireless connectivity.
Rostislava Shaptala Ukraine
Published by: aplhsindia.in
Everything we know so far about the Nvidia spy scandal targeting CEO Jensen Huang
The leather-jacketed CEO of Nvidia, Jensen Huang, has acknowledged an affair with Megaspeed exec Alice Huang, spurring an investigation by his company and intense discussions worldwide. Recent reporting noted that since last year, US intelligence reports had identified Alice Huang (no relation) as not only the exec for an AI...
The leather-jacketed CEO of Nvidia, Jensen Huang, has acknowledged an affair with Megaspeed exec Alice Huang, spurring an investigation by his company and intense discussions worldwide. Recent reporting noted that since last year, US intelligence reports had identified Alice Huang (no relation) as not only the exec for an AI compute company renting access to Nvidia GPUs, but also a spy for China’s Ministry of State Security.In recent years, Nvidia has become a key part of the Trump administration’s AI push, a central figure in negotiations over potential Chinese access to cutting-edge AI hardware, and a company that has used its now $4 trillion-plus market cap to finance other AI companies, including the “neoclouds” like Coreweave who have been some of its biggest customers. So far, Nvidia and Jensen Huang have said that they have “no reason to believe that either national security or NVIDIA secrets were compromised,” but that hasn’t settled things as the investigation continues. Here’s what Trump said he knew about Jensen Huang What could China get from Jensen Huang? The future of AI hinges on… Jensen Huang’s sex life? Here’s the full text of Jensen Huang’s memo to Nvidia Nvidia is investigating Jensen Huang’s relationship with an alleged Chinese spy
Connie Martinez United States
Published by: aplhsindia.in
Fake memory cards are everywhere, and here’s how to spot them
Your latest laptop may not have an SD card slot, but memory cards haven't gone anywhere. They celebrated their 25th anniversary last year, selling over 12 billion units in 25 years. Whether it's SD, microSD, or CFexpress cards, these ultra-compact flash storage cards power everything from phones and handhelds to...
Your latest laptop may not have an SD card slot, but memory cards haven't gone anywhere. They celebrated their 25th anniversary last year, selling over 12 billion units in 25 years. Whether it's SD, microSD, or CFexpress cards, these ultra-compact flash storage cards power everything from phones and handhelds to SBCs, digital cameras, and drones.
Emily Brown Houston
Published by: aplhsindia.in
MSI’s refurbished QD-OLED gaming monitor is on sale for under $300
One of the best upgrades you can make to your PC gaming setup is an OLED monitor. Fortunately, MSI’s factory-reconditioned Mag 272QP X24 is on sale at Woot through November 18th with a 180-day manufacturer warranty for $290.99, which is more than $100 cheaper than the full MSRP of $399.99....
One of the best upgrades you can make to your PC gaming setup is an OLED monitor. Fortunately, MSI’s factory-reconditioned Mag 272QP X24 is on sale at Woot through November 18th with a 180-day manufacturer warranty for $290.99, which is more than $100 cheaper than the full MSRP of $399.99.MAG 272QP QD-OLED X24 (refurbished)Where to Buy: $399.99 $290.99 at WootMSI’s 27-inch screen is well-featured for the price, with 1440p resolution, a 240Hz refresh rate, and both G-Sync and FreeSync compatibility, which help reduce screen tearing when your FPS is below the max refresh rate. PC games are particularly well-suited to take advantage of the deep black levels OLED panels produce, too, giving every game you play a deeper, more immersive feel. MSI’s budget OLED also features quantum dots for fuller, more vivid colors. It doesn’t cut corners on ports either, with two HDMI 2.1, one DisplayPort 1.4a, and one USB Type-C DP Alt input.
Magne Haga Norway
Published by: aplhsindia.in
What could China get from Jensen Huang?
It's difficult to overstate Nvidia's power in today's AI landscape. The company's chips are the bedrock upon which advanced AI technology in the US is being built, and demand has consistently outpaced supply for years. Nvidia has also been an influential investor in a wide range of up-and-coming AI companies...
It's difficult to overstate Nvidia's power in today's AI landscape. The company's chips are the bedrock upon which advanced AI technology in the US is being built, and demand has consistently outpaced supply for years. Nvidia has also been an influential investor in a wide range of up-and-coming AI companies in recent years, with about $99 billion worth of equity investments in frontier AI labs, neoclouds, infrastructure companies, and more. Its chief executive has even become close with President Donald Trump.This is why, as both cofounder and longtime CEO of Nvidia, Jensen Huang would be a valuable target for a foreign adversary with sig …Read the full story at The Verge.
Naziha Nijs Netherlands
Published by: aplhsindia.in
You can now build your own Linux desktop with HTML and CSS, and it looks better than KDE Plasma
Chromium is everywhere. I'm using it to edit and publish this very article. There's a good chance you're using a Chromium-powered browser to read it. Google exercises considerable control over web publishing technologies through this initiative, which may not sound like such a bad idea on paper, but it's also...
Chromium is everywhere. I'm using it to edit and publish this very article. There's a good chance you're using a Chromium-powered browser to read it. Google exercises considerable control over web publishing technologies through this initiative, which may not sound like such a bad idea on paper, but it's also responsible for a high-revenue ad-publishing business. Ad-blockers beware! Still, Chromium is solid, and you can now design and put together your own Linux desktop using HTML and CSS.
Brajan Petković Serbia
Published by: aplhsindia.in
The global pledge to use AI for climate good is a cruel joke
Murat Kurum (left), Turkey’s minister of Environment, Urbanisation and Climate Change; and Chris Bowen, Australia's minister for Climate Change and Energy, raise their hands together at the COP31 UN Climate Change Conference in Antalya, Turkey, on November 9th, 2026. | Photo: AFP via Getty Images At this point, reading through...
Murat Kurum (left), Turkey’s minister of Environment, Urbanisation and Climate Change; and Chris Bowen, Australia's minister for Climate Change and Energy, raise their hands together at the COP31 UN Climate Change Conference in Antalya, Turkey, on November 9th, 2026. | Photo: AFP via Getty Images At this point, reading through the latest splashy pledge to use AI for the good of the environment feels like downing a nonalcoholic beer. Admittedly, I'm suspicious from the onset. How can this be good? But I love beer and our planet enough to give it a whirl - and hey, why not try a little harm reduction?Negotiators from more than 190 countries around the world are in Antalya, Turkey, this month for the annual United Nations climate summit, called COP31 (the 31st "Conference of the Parties" that ratified the UN Framework Convention on Climate Change). Turkey previewed its Antalya Artificial Intelligence Pledge ahead of the convening, inv …Read the full story at The Verge.
Stefan Pantić Serbia
Published by: aplhsindia.in
I stuck a $10 USB LED strip to the back of my monitor, and my evening eye strain completely disappeared
An evening session in a dark room with a single high-brightness monitor can create extreme local contrast. Your pupils dilate to adjust to the dark room while taking in direct bright light from the display, which can cause digital eye strain and fatigue.
An evening session in a dark room with a single high-brightness monitor can create extreme local contrast. Your pupils dilate to adjust to the dark room while taking in direct bright light from the display, which can cause digital eye strain and fatigue.
John Doe New York
Published by: aplhsindia.in
Here’s what Trump said he knew about Jensen Huang
Jensen Huang and President Trump. | Getty Images President Trump held a White House press briefing earlier today and responded to several questions about his knowledge of Nvidia CEO Jensen Huang's affair with an alleged Chinese spy. Huang said this weekend that he had been "unfaithful" to his wife, and...
Jensen Huang and President Trump. | Getty Images President Trump held a White House press briefing earlier today and responded to several questions about his knowledge of Nvidia CEO Jensen Huang's affair with an alleged Chinese spy. Huang said this weekend that he had been "unfaithful" to his wife, and the company has opened an investigation into Huang.Recent articles from The New York Times indicated that Trump had been aware of a relationship between Huang and Alice Huang, the suspected spy, before information about it became public. In October, The New York Times reported that Trump had been briefed "roughly a year ago" on intelligence that Huang and the alleged spy, Alice Huang, ha …Read the full story at The Verge.
Arthur Vincent Switzerland
Published by: aplhsindia.in
I turned my iPhone Duo into a Windows 98 gaming PC.
The first foldable iPhone makes a surprisingly great vintage gaming PC, complete with virtual 3dfx card.
The first foldable iPhone makes a surprisingly great vintage gaming PC, complete with virtual 3dfx card.