We use cookies to ensure you can get the best experience on our site. If you keep using this site we assume that you agree to our use of cookies. Privacy Policy OK

Lazy-Loading to All Images by WordPress 5.4 in March

by | February 13, 2020

WordPress 5.4 Adds Lazy-Loading to All Images

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

Most of the 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 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 to 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.

Start Building Your Website!

Prices starting at 33.48€40.18€$35.88$43.06/year!

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 their platform but also for the faster web improvement. Users, as well as us, are excited about the end of March when we will all hopefully try the feature.

Related Posts

How to Create a Social Media Marketing Plan: 4 Steps Guide

The number of social media world-wide users continues to grow every year. That’s why it is crucial for your business success to take advantage of these platforms. In order to fully utilize the power of social media, you ought to […]

How Bad Design is Stealing Your Profits

Most companies look at the good design as an additional expense rather than a great opportunity to invest. A company’s business plan will normally include the costs of hiring staff, internal cost, and products and services, etc. Yet, another expense […]

Promote Your Business in a Slow Period? Yes!

We all know those periods when things are not moving, you feel stuck, and no one seems to be acknowledging you. Every business has those times. And we know it can be worrying because customers don’t interact with you but […]

awardspace logo
Where Ideas Turn Into Websites