Служба поддержки работает 24/7 — мы всегда на связи по вопросам хостинга и серверов.Открыт прием заявок на аренду выделенных серверов и размещение оборудования в дата-центре.Напоминаем: рекомендуем включить резервное копирование для дополнительной защиты данных.Доступна новая линейка VPS/VDS с NVMe-дисками и увеличенной производительностью.Технические работы на части серверов завершены. Все сервисы работают в штатном режиме.

MODULE FOR 1C-BITRIX

Dmitry Krotov

LazyLoad LITE - Deferred Image Loading

The module automatically adds the loading="lazy" attribute to images within img tags, enabling deferred loading without JavaScript. This is a lightweight version of the LazyLoad module that operates exclusively with img elements. Unlike standard solutions, it requires no script execution; the browser handles image loading natively using the attribute introduced in 2019.

Technical details

Published
03.11.2020
Updated
25.05.2022
Version
1.0.2
Installed
More than 1000 times
Suitable editions
'First Site', 'Start', 'Standard', 'Small Business', 'Business', 'Online Store + CRM'
Responsiveness
Yes
Composite support
Yes
Compatible with Sites24
No
Developer
Dmitry Krotov

What this solution does

The module automatically adds the loading="lazy" attribute to images within img tags, enabling deferred loading without JavaScript. This is a lightweight version of the LazyLoad module that operates exclusively with img elements. Unlike standard solutions, it requires no script execution; the browser handles image loading natively using the attribute introduced in 2019. This approach eliminates delays caused by loading and executing JavaScript, helping to maintain high Google PageSpeed scores. The mechanism efficiently utilizes browser resources and addresses the "Defer offscreen images" task.

The LazyLoad LITE module provides image lazy loading using the native loading="lazy" attribute. This is the most efficient and fastest method that does not require JavaScript. The script automatically identifies suitable img tags on the page without requiring manual configuration of classes or attributes. It respects existing loading attributes and functions correctly in composite mode, AJAX mode, and when used with CDNs. The module does not conflict with other lazy loading solutions.

Additional settings allow for flexible control: disabling loading for images containing specific strings in the URL (useful for retargeting pixels), excluding elements by CSS class, and disabling the module on specific domains, sections, or pages.

Limitations: processing is limited to images within img tags, as other tags do not support the loading="lazy" attribute. The method works only in modern browsers; in older browsers, images load normally. For extended functionality including video and iframe support, the LazyLoad PRO module is available.

LazyLoad LITE is a module for lazy loading images, developed by Dmitry Krotov. It accelerates website performance by deferring image loading until the content enters the user's viewport.

For image optimization and conversion to modern formats, the Webp module is also available, providing real-time conversion of images to the WebP format.

To resolve issues with resources blocking page rendering, the LazyLoad LITE module for deferred image loading is available.

To reduce the size of HTML, JavaScript, and CSS code, use the HTML/JS/CSS Minification module.

General iT can install and configure this module and check how it works on your website.

UPDATE HISTORY

What’s new

2 releases
1.0.2 (01.07.2021)Latest update

Module publisher change

1.0.1 (03.03.2021)

Image parsing fix

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

How do I purchase a solution?
Submit a request on the solution page. A manager will check your selection, confirm the terms and arrange the purchase. We can also help with installation and setup.
Is a 1C-Bitrix licence included?
The default price covers the solution itself. If the developer offers a bundle with a 1C-Bitrix licence, you can select it separately on the solution page.
Can I try a solution first?
Available online demos and trial periods are shown on the solution page. The trial length depends on the solution.
How much does renewal cost?
Renewal is calculated as 50% of the full solution price before discounts. A manager will confirm the renewal terms and period before you order.
Can you help implement the solution?
Yes. We can build a website or store based on a template, or install, configure and check a module for compatibility. The scope and cost of the work are agreed separately.

GENERAL iT

Let’s discuss your project

Получатель: ООО «Дженерал Ай Ти Рус»

1C-BITRIX

Install solution

Enter a domain with or without https://. The installer will open in your website control panel in a new tab.

Solution screenshots

Solution screenshot