PHPackages                             terminal42/contao-pageimage - 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. terminal42/contao-pageimage

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

terminal42/contao-pageimage
===========================

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

4.3.1(5mo ago)1358.8k↓28.8%12[1 issues](https://github.com/terminal42/contao-pageimage/issues)2MITPHPPHP ^8.1CI passing

Since Nov 14Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/terminal42/contao-pageimage)[ Packagist](https://packagist.org/packages/terminal42/contao-pageimage)[ Docs](https://github.com/terminal42/contao-pageimage)[ GitHub Sponsors](https://github.com/terminal42)[ Fund](https://ko-fi.com/terminal42)[ RSS](/packages/terminal42-contao-pageimage/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (9)Versions (32)Used By (2)

terminal42/contao-pageimage
===========================

[](#terminal42contao-pageimage)

This Contao extension add a new field to assign image files for each page. Using these images, the *Page Image* front end module can:

- output the image as page content (e.g. as a header banner)
- generate CSS to apply the image as a background to `` or an element.

**Note:** In version 4, the two separate front end modules have been merged and the change from image to CSS happens through custom front end templates!

Features
--------

[](#features)

- **Multiple images per page**
    If more than one image is assigned to a page, the front end module can decide which n-th image should be shown. This means you can (for example) have a header and footer image per page. Make sure to correctly order them in the page configuration.
- **Inherit images from parent page**
    If the current page has no image assigned, images from the parent page can optionally be inherited to all child pages.
- **Support for responsive images**
    In both the `mod_pageimage` or `mod_pageimage_background` templates, *Page Image* fully supports Contao's responsive image settings (using `` or `@media` query respectively).
- **NEW: metadata support**
    Version 4 adds support for file metadata. Same as with content elements, metadata can be defined in the file manager and can be selectively overridden in the page configuration.

Installation
------------

[](#installation)

Choose the installation method that matches your workflow!

### Installation via Contao Manager

[](#installation-via-contao-manager)

Search for `terminal42/contao-pageimage` in the Contao Manager and add it to your installation. Apply changes to update the packages.

### Manual installation

[](#manual-installation)

Add a composer dependency for this bundle. Therefore, change in the project root and run the following:

```
composer require terminal42/contao-pageimage
```

Depending on your environment, the command can differ, i.e. starting with `php composer.phar …` if you do not have composer installed globally.

Then, update the database via the `contao:migrate` command or the Contao install tool.

License
-------

[](#license)

This bundle is released under the [MIT license](LICENSE)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance70

Regular maintenance activity

Popularity39

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 74.2% of commits — single point of failure

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 ~134 days

Recently: every ~96 days

Total

31

Last Release

157d ago

Major Versions

3.4.3 → 4.0.02020-10-20

PHP version history (5 changes)3.1.1PHP &gt;=5.3.2

3.4.1PHP ^5.6 || ^7

4.0.0PHP ^7.2

4.1.2PHP ^7.4 || ^8.0

4.2.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1073273?v=4)[Andreas Schempp](/maintainers/aschempp)[@aschempp](https://github.com/aschempp)

![](https://avatars.githubusercontent.com/u/481937?v=4)[Yanick Witschi](/maintainers/Toflar)[@Toflar](https://github.com/Toflar)

---

Top Contributors

[![aschempp](https://avatars.githubusercontent.com/u/1073273?v=4)](https://github.com/aschempp "aschempp (115 commits)")[![qzminski](https://avatars.githubusercontent.com/u/193483?v=4)](https://github.com/qzminski "qzminski (13 commits)")[![Toflar](https://avatars.githubusercontent.com/u/481937?v=4)](https://github.com/Toflar "Toflar (12 commits)")[![richardhj](https://avatars.githubusercontent.com/u/1284725?v=4)](https://github.com/richardhj "richardhj (8 commits)")[![michelbalzer](https://avatars.githubusercontent.com/u/1337412?v=4)](https://github.com/michelbalzer "michelbalzer (2 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (2 commits)")[![bekanntmacher](https://avatars.githubusercontent.com/u/1622464?v=4)](https://github.com/bekanntmacher "bekanntmacher (2 commits)")[![MDevster](https://avatars.githubusercontent.com/u/10244240?v=4)](https://github.com/MDevster "MDevster (1 commits)")

---

Tags

pageimagecontaobackground

### Embed Badge

![Health badge](/badges/terminal42-contao-pageimage/health.svg)

```
[![Health](https://phpackages.com/badges/terminal42-contao-pageimage/health.svg)](https://phpackages.com/packages/terminal42-contao-pageimage)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3172.5k4](/packages/terminal42-contao-node)[contao-community-alliance/dc-general

Universal data container for Contao

1578.3k86](/packages/contao-community-alliance-dc-general)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/dcawizard

dcaWizard extension for Contao Open Source CMS

10370.7k15](/packages/terminal42-dcawizard)

PHPackages © 2026

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