/contao-image-styling-bundle

Add responsive image placeholder styling when images are lazy loaded.

Primary LanguagePHPGNU Lesser General Public License v3.0LGPL-3.0

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.