Home » Blog » News » Lazy-Loading to All Images by WordPress 5.4 in March

Lazy-Loading to All Images by WordPress 5.4 in March

by | Feb 13, 2020 | News

WordPress is one of the most rapidly developing platforms on the Internet that exceeds all expectations daily. Millions of users tend to expect improvements all the time and WordPress answers. The latest news announced is that WordPress 5.4 will feature image lazy-loading by default.

Most bloggers usually add third-party plugins or ask developers to help. Now, this won’t be needed, due to the expected changes on March 31, 2020. The release date might vary due to how ready they are but WordPress is not known for missing deadlines.

WordPress first considered enabling lazy-loading for images in WordPress content in 2018. But at the time, the feature required a custom JavaScript-based approach, and this would have introduced many edges and failures.

Now, the long-awaited feature will enable the “loading” HTML attribute on all IMG elements. The usage of JavaScript will no longer be needed as well as those plugins for lazy-loading. Users can enjoy a standardized experience without content shifting.

 

Where Will the Lazy-Loading from WordPress be Available?

  • Images in post content
  • Images in post excerpts
  • Images in comments
  • Images in the text widget content
  • Individual images rendered via wp_get_attachment_image()
  • Avatar images rendered via get_avatar()

 

What Does Lazy-Loading Mean?

Whether the browser should wait before downloading an image or download it right away, is told by that lazy-loading HTML attribute. This means there is no need for JavaScript to run. The lazy loading attribute will be added automatically to the HTML code of all images and visual content will upload once users approach it as they scroll down the page.

The Eager attribute is quite the opposite. All images and videos are uploaded when the user accessed the page no matter if the content is on the browser’s radar or not. This slows down websites and generates a large number of simultaneous HTTP requests.

If there is no need for a loading attribute, it will be easy to remove it.

 

WordPress announced:

“With WordPress enabling native lazy-loading by default, it would significantly impact performance and user experience for millions of sites, without requiring any technical knowledge or even awareness of lazy-loading as a concept.”

All of this is significant to the progress WordPress is making not only for its platform but also for faster web improvement. Users, as well as us, are excited about the end of March when we will all hopefully try the feature.

i

Relevant tags:

Create your free hosting account today

Connect

Latest posts:

How to Get the Most Out of Facebook Content Monetization

Whether with videos, reels, live streams, or text posts with photos, the path to earning money on Facebook becomes even more accessible, thanks to the platform's content monetization program. Facebook, under the Meta Business Suite, continues to send invitations to...

Best Blogging Platform in 2026: Why WordPress Remains King

Choosing the best blogging platform for your project remains an important decision - whether you are a beginner enthusiast looking to create a simple blog, or an experienced digital marketer aimed at top blogging performance and generating leads, the platform you...

5 Best Instagram Analytics Tools to Help Your Brand Grow

When working on your social media marketing campaign, it is important to understand that random Instagram publications won't help you achieve your business goals. Instead, you need to understand what resonates with users, how your audience grows, and with what types...

Can You Schedule Instagram Posts and How to Do So?

There's a high chance you have wondered if you can schedule Instagram posts. Luckily, the short answer is yes, you can. Instagram allows you to schedule posts easily. Furthermore, you can also schedule your posts directly via Meta Business Suite and via third-party...

How to Hide Followers on Instagram

Not everyone on Instagram wants their social connections to be visible to the public. If you value privacy, knowing how to hide followers on Instagram can help you achieve control over who sees your activity and who does not. In this article, we share how to hide...



Create a website for free!


Free forever