PHPackages                             hypejunction/elgg\_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. hypejunction/elgg\_lightbox

ActiveElgg-plugin[Utility &amp; Helpers](/categories/utility)

hypejunction/elgg\_lightbox
===========================

Enhanced lightbox for Elgg

7.0.3(1w ago)11231GPL-2.0-or-laterShellPHP &gt;=8.3CI failing

Since Oct 2Pushed 3d ago1 watchersCompare

[ Source](https://github.com/hypeJunction/elgg_lightbox)[ Packagist](https://packagist.org/packages/hypejunction/elgg_lightbox)[ Docs](https://github.com/hypeJunction/elgg_lightbox)[ RSS](/packages/hypejunction-elgg-lightbox/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (5)Versions (24)Used By (0)

Lightbox for Elgg
=================

[](#lightbox-for-elgg)

[![Elgg 7.x](https://camo.githubusercontent.com/959475d1d91761b2e3ed85398ae1ebe9536a48c724e92bef53e7e2027c3d3627/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d372e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/959475d1d91761b2e3ed85398ae1ebe9536a48c724e92bef53e7e2027c3d3627/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d372e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)

Lightbox component for Elgg

Features
--------

[](#features)

- Converts lightbox to AMD module
- Custom imageless theme

[![Lightbox](https://camo.githubusercontent.com/6389a80a64292214e860f3ee2bc73d79f588ec050d8a086e5576369e49244438/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f656c67675f6c69676874626f782f6d61737465722f73637265656e73686f74732f6c69676874626f782e706e67 "Lightbox")](https://camo.githubusercontent.com/6389a80a64292214e860f3ee2bc73d79f588ec050d8a086e5576369e49244438/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f656c67675f6c69676874626f782f6d61737465722f73637265656e73686f74732f6c69676874626f782e706e67)

Usage
-----

[](#usage)

As an AMD module:

```
define(function(require) {
	var lightbox = require('elgg/lightbox');
	var spinner = require('elgg/spinner');

	lightbox.open({
		html: 'You are welcome',
		onClosed: function() {
			lightbox.open({
				onLoad: spinner.start,
				onComplete: spinner.stop,
				photo: true,
				href: 'https://www.petfinder.com/wp-content/uploads/2012/11/122163343-conditioning-dog-loud-noises-632x475.jpg',
			});
		}
	});
});
```

You can also add `.elgg-lightbox` or `.elgg-lightbox-photo` class to your HTML elements (with a `href` or `src`) attribute. Additional parameters can be passed with `data-colorbox-opts` as a json\_encoded object.

Note that for the `rel` options to take effect, you will need to call a colorbox on a selector, e.g.

```
require(['elgg/lightbox'], function() {
	$('.elgg-lightbox-photo').colorbox({photo: true});
});
```

Notes
-----

[](#notes)

- This drop `elgg.ui.lightbox` namespace. Use AMD module instead.

Compatibility
-------------

[](#compatibility)

Plugin versionElgg version7.0.07.x6.0.06.x5.0.05.x4.0.04.x3.0.03.x

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance99

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98.4% 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 ~245 days

Recently: every ~9 days

Total

17

Last Release

10d ago

Major Versions

2.1.2 → 3.0.02026-04-14

3.0.0 → 4.0.02026-05-13

4.0.0 → 5.0.02026-05-13

5.0.0 → 7.0.02026-05-19

6.0.0 → 7.0.12026-06-05

PHP version history (4 changes)3.0.0PHP &gt;=7.4

5.0.0PHP &gt;=8.0

7.0.0PHP &gt;=8.3

6.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (63 commits)")[![mrclay](https://avatars.githubusercontent.com/u/170687?v=4)](https://github.com/mrclay "mrclay (1 commits)")

---

Tags

elggelgg-pluginphppluginuielgglightbox

### Embed Badge

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

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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