PHPackages                             automad/lightbox - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. automad/lightbox

ActiveAutomad-package[Utility &amp; Helpers](/categories/utility)

automad/lightbox
================

A custom string function for creating a lightbox slideshow out of inline images.

1.0.2(5y ago)22.3k11MITJavaScript

Since Jan 25Pushed 5y ago2 watchersCompare

[ Source](https://github.com/marcantondahmen/automad-lightbox)[ Packagist](https://packagist.org/packages/automad/lightbox)[ RSS](/packages/automad-lightbox/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

Automad Lightbox
================

[](#automad-lightbox)

The Lightbox extensions is a custom string function for [Automad](https://automad.org) that easily let's you create lightbox slideshows out of inline images. It can be used with any text variable including markdown image links.

Assets
------

[](#assets)

The lightbox extension requires jQuery to be loaded along with the included assets within your template's `` section.

```

```

Template
--------

[](#template)

Somewhere in the body of your template the extension can be used with any variable as follows:

```
@{ text | Automad/Lightbox | markdown }

```

Using Inline Images in Content
------------------------------

[](#using-inline-images-in-content)

The Lightbox string function will pick up any markdown image within your content and turn it into a link to open the lightbox modal window. While the enlarged image in the lightbox modal will always have its original dimensions, it is possible to resize the image embedded within the text as follows:

```
![](image?400x300)

```

The image tag above will create an image link with a small thumbnail of 400x300 pixel to open the enlarged version of that image with its original dimensions in the modal window.

Captions
--------

[](#captions)

Captions stored along with images will be displayed automatically at the bottom of the lightbox modal window.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

Total

3

Last Release

2047d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a3565413eb5da0526ac25a008fa743c1cd4f30ef1fd5eb17bcfee7e8c6ac5be?d=identicon)[marcantondahmen](/maintainers/marcantondahmen)

---

Top Contributors

[![marcantondahmen](https://avatars.githubusercontent.com/u/8440030?v=4)](https://github.com/marcantondahmen "marcantondahmen (13 commits)")

---

Tags

automadcomposerlightboxpipeextensionlightbox

### Embed Badge

![Health badge](/badges/automad-lightbox/health.svg)

```
[![Health](https://phpackages.com/badges/automad-lightbox/health.svg)](https://phpackages.com/packages/automad-lightbox)
```

###  Alternatives

[laravel-admin-ext/grid-lightbox

Turn your grid into a lightbox &amp; gallery

58184.4k2](/packages/laravel-admin-ext-grid-lightbox)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1358.5k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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