Spring Sale! Save 30% on all books w/ code: PLANET24
Web Dev + WordPress + Security

WordPress Plugin: Disable Lazy Load

WordPress Plugin: Disable Lazy Load WordPress 5.5 brings some cool new features, including built-in support for lazy-loading images. So whether you want it or not, WordPress will add a new “loading” attribute to all of your images. That way supportive browsers will be able to load your images as the user scrolls the page, instead of trying to load everything at once. It’s a popular front-end technique that may help to boost performance a little bit.

Like anything else, there are pros and cons to lazy loading images. You can read all about it at WordPress.org. Currently browser support is spotty at best.

Don’t want all of your images to get lazy-loaded? Install the free plugin and done.

Disable Lazy Loading

I think a lot of folks are thrilled to see lazy loading put into the WordPress core. But like with many of WordPress’ new features, not everyone wants or needs their images to load lazily amongst supportive browsers. Some prefer consistency and will wait until browser support has improved. Others already have implemented their own lazy-load solution, like via a plugin for example. Even WordPress core developers know this, as they had the foresight to include an easy way to disable the new lazy-loading functionality in WordPress 5.5 and beyond.

Does one thing: disables WP Lazy Load feature.

And that’s where this plugin comes in. It’s a super simple plugin that makes use of the official WordPress technique for disabling the WP Lazy Loading feature. Just install the plugin and it’s done; WordPress will not insert any loading="lazy" attributes into your site’s images.

WordPress Plugin: Disable Lazy LoadScreenshot showing the new loading attribute, which WordPress now inserts into all of your images.

Plugin Features

I try to keep all of my WordPress plugins as lightweight and fast as possible. The Disable Lazy Load plugin consists of one line of code, so it is lightweight and fast. Other features include:

  • Clean, secure code
  • Simple to use – activate and done
  • No settings to worry about.
  • Written according to the WP API
  • Simple, lightweight, and flexible
  • Localized and translation ready
  • Cleans up after itself when uninstalled
  • Easy peasy.

For more details about how it works, visit the plugin docs at WordPress.org.

Installation & Usage

First install and activate the plugin:

  1. Upload the plugin to your blog and activate
  2. Done!

There are no more steps :) This plugin works silently behind the scenes, with no need for any settings page. So it is super simple and completely effective at disabling WP Lazy Loading.

WordPress Plugin: Disable Lazy LoadAnother screenshot showing the new loading attribute, added by WordPress to all of your images.

Why is this useful?

Because there are plugins that already implement lazy loading. So when upgrading to WP v5.5, there may be conflicting or redundant functionality. That’s not ideal. So with WordPress 5.5 and beyond, you can either remove your existing lazy-load solution, or more simply disable the WP-generated one. Or maybe you just don’t want lazy loading on some particular site. Whatever the reason, this plugin will do the job with a click.

Download

Disable Lazy Load is open source and 100% free for everyone. Learn more and download at the WP Plugin Directory.

Sloth photo by photosforhobby

About the Author
Jeff Starr = Web Developer. Security Specialist. WordPress Buff.
Blackhole Pro: Trap bad bots in a virtual black hole.

2 responses to “WordPress Plugin: Disable Lazy Load”

  1. Udegbunam Chukwudi 2020/08/05 12:05 am

    So this new feature would definitely conflict with Jetpack’s Lazy Images module?

    • Jeff Starr 2020/08/05 9:28 am

      I’ve read that it does not interfere with Jetpack, but you should test for yourself just to be sure.

Comments are closed for this post. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
BBQ Pro: The fastest firewall to protect your WordPress.
Thoughts
I live right next door to the absolute loudest car in town. And the owner loves to drive it.
8G Firewall now out of beta testing, ready for use on production sites.
It's all about that ad revenue baby.
Note to self: encrypting 500 GB of data on my iMac takes around 8 hours.
Getting back into things after a bit of a break. Currently 7° F outside. Chillz.
2024 is going to make 2020 look like a vacation. Prepare accordingly.
First snow of the year :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.