Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Lazy Image Style

Security covered Maintenance fixes only 82 sites

Part of the Lazy ecosystem · 5 projects

This module enables lazy loading for images, including those using image styles and responsive image configurations. It supports various features like base64 placeholders and integration with CKEditor for easy use. The module leverages the Intersection Observer API for efficient loading and can be configured to work with specific image styles.

Introduction

This module add support lazy image for image styles and responsive image.

Features

  • Using lazy load images by image style
  • Support responsive image
  • Support base64 "empty"
  • Easy used
  • Support Intersection Observer API
  • (For > 8.x-1.3 version)Support CKEditor. Add button in your text formatter and enable " Track supported lazy images"
  • Twig function for fast render image. Example {{ lazysizes('you_src', {alt: 'image alt'}) }}

For use in CKEditor
Recommended use Full HTML text format else make sure next attributes: `data-use-lazy srcset data-srcset class` allowed for `img` tag.

Installation

After install module goto /admin/config/media/lazy_image_settings
and select image style for support lazy image.

2.x branch
Now this module provides integration lazysizes.

High performance and SEO friendly lazy loader for images (responsive and normal)

  • Using srcset attribute;
  • Support responsive image style;
  • Required Lazysizes library.
Drupal 10 · not 11

Ask your assistant about Lazy Image Style

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • image Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jan 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
3.0.2 Stable 10 Jan 15, 2023