PHPackages                             xirdion/contao-image-styling-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. xirdion/contao-image-styling-bundle

ActiveContao-bundle[Image &amp; Media](/categories/media)

xirdion/contao-image-styling-bundle
===================================

Add responsive placeholder styling to lazy loaded images

2.0.4(3y ago)041AGPL-3.0-or-laterPHPPHP ^8.1

Since Mar 9Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Xirdion/contao-image-styling-bundle)[ Packagist](https://packagist.org/packages/xirdion/contao-image-styling-bundle)[ RSS](/packages/xirdion-contao-image-styling-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (12)Versions (15)Used By (0)

[![Packagist Version](https://camo.githubusercontent.com/c5b996c5587860a45d059533b9d935892921e7254731c6d8f936ebe5ca1ec017/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f776965736f2f636f6e74616f2d696d6167652d7374796c696e672d62756e646c653f6c6162656c3d76657273696f6e)](https://camo.githubusercontent.com/c5b996c5587860a45d059533b9d935892921e7254731c6d8f936ebe5ca1ec017/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f776965736f2f636f6e74616f2d696d6167652d7374796c696e672d62756e646c653f6c6162656c3d76657273696f6e)[![codecov](https://camo.githubusercontent.com/31426eaa8e91974a351a4d720e49f21059de7547d60730a44c708218bbf2d57e/68747470733a2f2f636f6465636f762e696f2f67682f736f776965736f2d7765622f636f6e74616f2d696d6167652d7374796c696e672d62756e646c652f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d34574742583133374b43)](https://codecov.io/gh/sowieso-web/contao-image-styling-bundle)[![Packagist Downloads](https://camo.githubusercontent.com/891c743b7504ae5b211e59d1d5007bf4743f1d271ca346d694659bd425678d63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f776965736f2f636f6e74616f2d696d6167652d7374796c696e672d62756e646c653f636f6c6f723d627269677468677265656e)](https://camo.githubusercontent.com/891c743b7504ae5b211e59d1d5007bf4743f1d271ca346d694659bd425678d63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f776965736f2f636f6e74616f2d696d6167652d7374796c696e672d62756e646c653f636f6c6f723d627269677468677265656e)

Responsive Image Styling Bundle
===============================

[](#responsive-image-styling-bundle)

---

Contao extension to calculate extra styling for ``-elements to prevent [cumulative layout shift](https://web.dev/cls/). This extension is compatible with Contao 4.13 and 5.0.

Install
-------

[](#install)

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

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

Documentation
-------------

[](#documentation)

[Documentation](docs/index.md)

License
-------

[](#license)

This bundle is licensed under the terms of the LGPLv3.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Recently: every ~3 days

Total

14

Last Release

1322d ago

Major Versions

1.0.7 → 2.0.02022-09-06

1.0.8 → 2.0.12022-09-13

PHP version history (2 changes)1.0.0PHP ^8.0

2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ffc913d0319d3971a6c2d2baf7e06a5bd17d662d8221fd08550b726dc2864339?d=identicon)[Xirdion](/maintainers/Xirdion)

---

Top Contributors

[![sebssch](https://avatars.githubusercontent.com/u/18069290?v=4)](https://github.com/sebssch "sebssch (1 commits)")[![sowieso-web](https://avatars.githubusercontent.com/u/98822734?v=4)](https://github.com/sowieso-web "sowieso-web (1 commits)")[![Xirdion](https://avatars.githubusercontent.com/u/17783055?v=4)](https://github.com/Xirdion "Xirdion (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xirdion-contao-image-styling-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/xirdion-contao-image-styling-bundle/health.svg)](https://phpackages.com/packages/xirdion-contao-image-styling-bundle)
```

###  Alternatives

[terminal42/contao-pageimage

\[Contao CMS\] Assign images to pages and output them on layout level using a frontend module.

1358.8k2](/packages/terminal42-contao-pageimage)[plenta/contao-jobs-basic-bundle

Basic Job Manager for Contao (including Google Jobs).

335.1k](/packages/plenta-contao-jobs-basic-bundle)[tastaturberuf/contao-image-copyright-bundle

With this Contao bundle you can easily add a copyright notice to all images and then display them in a module.

112.8k](/packages/tastaturberuf-contao-image-copyright-bundle)[postyou/contao-webp-bundle

Replace images with WebP format if the browser supports it

103.1k](/packages/postyou-contao-webp-bundle)[inspiredminds/contao-image-alternatives

Contao extension to provide the possibility of defining alternative images to be used on different output devices.

121.9k](/packages/inspiredminds-contao-image-alternatives)[craffft/contao-photoalbums2

Photoalbums2 for Contao OpenSource CMS

121.2k1](/packages/craffft-contao-photoalbums2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
