PHPackages                             teamsisu/contao-greyify - 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. teamsisu/contao-greyify

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

teamsisu/contao-greyify
=======================

An contao extension that provides a small class to greyscale images with PHP or inserttag

0.0.4(11y ago)215LGPL-3.0+PHPPHP &gt;=5.3

Since Jan 8Pushed 11y ago2 watchersCompare

[ Source](https://github.com/Teamsisu/contao-greyify)[ Packagist](https://packagist.org/packages/teamsisu/contao-greyify)[ Docs](https://github.com/Teamsisu/contao-greyify)[ RSS](/packages/teamsisu-contao-greyify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Greyify
=======

[](#greyify)

[![Version](https://camo.githubusercontent.com/8fbc869a489a5aae6d62d88090b83bb8df2b568b40f10a27a1254715332c7d6b/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7465616d736973752f636f6e74616f2d677265796966792e7376673f7374796c653d666c61742d737175617265)](https://github.com/Teamsisu/contao-greyify)[![License](https://camo.githubusercontent.com/97b327aa24480942ebd3264cc6b1875dd429d4b8486a354b6dd4162df357a527/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7465616d736973752f636f6e74616f2d677265796966792e7376673f7374796c653d666c61742d737175617265)](https://github.com/Teamsisu/contao-greyify)[![Downloads](https://camo.githubusercontent.com/70b712d4afab79d2ee8aa81dc55b4cb739b7229c86724145f5891e00a837ecf7/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7465616d736973752f636f6e74616f2d677265796966792e7376673f7374796c653d666c61742d737175617265)](https://github.com/Teamsisu/contao-greyify)

An contao extension that provides a small class to greyscale images with PHP or inserttag

How to use:
-----------

[](#how-to-use)

#### inserttag

[](#inserttag)

```
    Default:
    {{greyify::imagePath/UUID?width=x&height=x&mode=x}}  // returns an image tag with figure container

    SRC:
    {{greyify::src::imagePath/UUID?width=x&height=x&mode=x}}  // returns only the file path

    TAG:
    {{greyify::tag::imagePath/UUID?width=x&height=x&mode=x}}  // returns an image tag

    FIGURE:
    {{greyify::figure::imagePath/UUID?width=x&height=x&mode=x}}  // returns an image tag with figure container

```

#### php

[](#php)

```
    $image = Greyify::convert(imagePath/UUID?width=x&height=x&mode=x);  // returns only the path of the image

    $image = Greyify::getHTML(imagePath/UUID?width=x&height=x&mode=x);  // returns an image tag

    $image = Greyify::getHTML(imagePath/UUID?width=x&height=x&mode=x, true);  // returns an image tag with figure container
```

For the getHTML method there is as third parameter the "alt" value available The parameters width/height/mode are optional for both inserttag and php

Additional note
---------------

[](#additional-note)

This module is provided "as is", without warranty of any kind. It is still under development if you find any issues please use the github issue tracker.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~13 days

Total

4

Last Release

4098d ago

### Community

Maintainers

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

---

Top Contributors

[![Munsio](https://avatars.githubusercontent.com/u/646513?v=4)](https://github.com/Munsio "Munsio (3 commits)")

---

Tags

imagecontaofrontendgrayscalegraygreyscalegrey

### Embed Badge

![Health badge](/badges/teamsisu-contao-greyify/health.svg)

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

###  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)

PHPackages © 2026

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