Skip to content

Add responsive image placeholder styling when images are lazy loaded.

License

Notifications You must be signed in to change notification settings

Xirdion/contao-image-styling-bundle

Repository files navigation

Packagist Version codecov Packagist Downloads

Responsive Image Styling Bundle


Contao extension to calculate extra styling for <figure>-elements to prevent cumulative layout shift. This extension is compatible with Contao 4.13 and 5.0.

Install

$ composer require sowieso/contao-image-styling-bundle

After the bundle has been installed, no further configuration is required. Only the styling of <figure> and <image> elements needs to be adjusted.

Documentation

Documentation

License

This bundle is licensed under the terms of the LGPLv3.

About

Add responsive image placeholder styling when images are lazy loaded.

Resources

License

Stars

Watchers

Forks

Packages

No packages published