xirdion / contao-image-styling-bundle
Add responsive placeholder styling to lazy loaded images
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:contao-bundle
pkg:composer/xirdion/contao-image-styling-bundle
Requires
- php: ^8.1
 - contao/conflicts: @dev
 - contao/core-bundle: ^4.13|^5.0
 
Requires (Dev)
- contao/manager-plugin: ^2.12
 - contao/test-case: ^4.13|^5.0
 - friendsofphp/php-cs-fixer: ^3.0
 - phpstan/phpstan: ^1.8
 - phpstan/phpstan-phpunit: ^1.1
 - phpstan/phpstan-symfony: ^1.2
 - phpunit/phpunit: ^9.5
 - roave/security-advisories: dev-latest
 - slam/phpstan-extensions: ^6.0
 - thecodingmachine/phpstan-strict-rules: ^1.0
 
README
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
License
This bundle is licensed under the terms of the LGPLv3.