xirdion/contao-image-styling-bundle

Add responsive placeholder styling to lazy loaded images

2.0.4 2022-09-26 13:59 UTC

This package is not auto-updated.

Last update: 2024-11-19 19:44:50 UTC


README

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.