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

ActiveElgg-plugin

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

Enhanced lightbox for Elgg

2.1.2(10y ago)11111GPL-2.0JavaScript

Since Oct 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hypeJunction/elgg_lightbox)[ Packagist](https://packagist.org/packages/hypejunction/elgg_lightbox)[ Docs](http://hypejunction.com)[ RSS](/packages/hypejunction-elgg-lightbox/feed)WikiDiscussions master Synced 1mo ago

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

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

[](#lightbox-for-elgg)

[![Elgg 2.0](https://camo.githubusercontent.com/981b94044a74b931be93e2825c7151896de9c8a53ccb960daf01b8fe0d800774/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d322e302e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/981b94044a74b931be93e2825c7151896de9c8a53ccb960daf01b8fe0d800774/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d322e302e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)

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.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 96.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 ~26 days

Recently: every ~51 days

Total

9

Last Release

3674d ago

Major Versions

1.0.1 → 2.0.02015-10-05

1.x-dev → 2.0.12015-10-06

### 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 (25 commits)")[![mrclay](https://avatars.githubusercontent.com/u/170687?v=4)](https://github.com/mrclay "mrclay (1 commits)")

---

Tags

pluginuielgglightbox

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

[coldtrick/widget_manager

Manage your widgets

214.3k](/packages/coldtrick-widget-manager)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)[coldtrick/translation_editor

Provide an easy way to edit translations

113.4k1](/packages/coldtrick-translation-editor)

PHPackages © 2026

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