Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds an option to image field formatters to display a blurry placeholder image while the actual image is loading, improving perceived performance. It works by creating a scaled-down version of the image as a background for the img element, with an optional experimental feature to add a CSS blur effect using JavaScript.

Adds an option to common image field formatters to display blurry placeholders of images while they are being loaded by the browser.

How to use it

To enable this feature for an image field, check the 'Use blurry placeholder' option under your image formatter. Supported formatters:

For Drupal 9, the following patch is recommended if you are using this with responsive images: #3267870: Order image mappings by breakpoint ID and numeric multiplier.

How it works

The module creates an image style with a 20px width scale filter. Before displaying images, a version using this style is created and added as a background-image on <img> elements.

You can play around with that image style and add extra effects if you feel like it.

Experimental: You can also enable JS/CSS blur in the module configuration screen (Admin > Config > Media > Image Blurry Placeholder Settings). A JavaScript library will add the .loading class on image elements while they are loading and some CSS blur effect will be added to those images.

Activity

Total releases
3
First release
Mar 2025
Latest release
6 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.2.0 Stable Dec 18, 2025
1.1.0 Stable Mar 25, 2025
1.0.x-dev Dev Mar 25, 2025