PHPackages                             dodecastudio/craft-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. [Image &amp; Media](/categories/media)
4. /
5. dodecastudio/craft-lightbox

ActiveCraft-plugin[Image &amp; Media](/categories/media)

dodecastudio/craft-lightbox
===========================

A simple, responsive, accessible and customisable lightbox gallery that integrates seamlessly with Craft CMS.

2.0.2(11mo ago)0487proprietaryTwigPHP &gt;=7.4

Since Jun 11Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/dodecastudio/craft-lightbox)[ Packagist](https://packagist.org/packages/dodecastudio/craft-lightbox)[ RSS](/packages/dodecastudio-craft-lightbox/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (1)Versions (22)Used By (0)

Craft Lightbox plugin for Craft CMS
===================================

[](#craft-lightbox-plugin-for-craft-cms)

[![](src/icon.svg)](src/icon.svg)

Craft Lightbox renders a simple and lightweight lightbox that is both responsive and accessible. It's suitable for anyone seeking a quick plug-and-play lightbox solution without much setup required.

Requirements
------------

[](#requirements)

- Craft CMS 3.X, 4.X or 5.X
- PHP 7.4+

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

[](#installation)

Install the plugin as follows:

1. Open your terminal and go to your Craft project:

    ```
    cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
    composer require dodecastudio/craft-lightbox

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Lightbox.

Getting started
---------------

[](#getting-started)

The fastest way to take a look at the lightbox in action, is to copy the [demo.twig](resources/demo.twig) file in to your project and view it in a browser. So long as you have some assets in your project, you should see some content on that page.

Otherwise, create an `AssetQuery` and give it to lightbox's `gallery` method. Then include lightbox's `render` method like so:

```
{# Fetch some images #}
{% set myAssetQuery = craft.assets().kind("image").limit(20) %}

{# Display the images in a gallery #}
{{ craft.lightbox.gallery(myAssetQuery) }}

{# Embed the Lightbox on the page #}
{{ craft.lightbox.render() }}
```

Please see the [Craft Lightbox Docs](https://github.com/dodecastudio/craft-lightbox/wiki) for a complete guide, including more [templating](https://github.com/dodecastudio/craft-lightbox/wiki/Templating) examples and full details on [configuration](https://github.com/dodecastudio/craft-lightbox/wiki/Configuration).

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance54

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Recently: every ~199 days

Total

21

Last Release

346d ago

Major Versions

1.0.13 → 2.0.02024-04-22

### Community

Maintainers

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

---

Top Contributors

[![tomkiss](https://avatars.githubusercontent.com/u/183310?v=4)](https://github.com/tomkiss "tomkiss (82 commits)")

---

Tags

imagescmsassetsgalleryCraftcraftcmscraft-pluginlightbox

### Embed Badge

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

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

###  Alternatives

[spacecatninja/imager-x

Ninja powered image transforms.

29390.0k23](/packages/spacecatninja-imager-x)[doublesecretagency/craft-googlemaps

Maps in minutes. Powered by the Google Maps API.

1267.9k](/packages/doublesecretagency-craft-googlemaps)[bymayo/pdf-transform

Transform a PDF page to an image (JPEG, PNG)

1211.6k](/packages/bymayo-pdf-transform)[nystudio107/craft-youtubeliveembed

This plugin allows you to embed a YouTube live stream and/or live chat on your webpage

163.7k](/packages/nystudio107-craft-youtubeliveembed)

PHPackages © 2026

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