PHPackages                             d1soft/yii2-lightboxedimage - 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. [Templating &amp; Views](/categories/templating)
4. /
5. d1soft/yii2-lightboxedimage

ActivePackage[Templating &amp; Views](/categories/templating)

d1soft/yii2-lightboxedimage
===========================

Yii2 widget to create lightboxed images

07JavaScript

Since May 11Pushed 8y agoCompare

[ Source](https://github.com/d1soft/Yii2-LightboxedImage-widget)[ Packagist](https://packagist.org/packages/d1soft/yii2-lightboxedimage)[ RSS](/packages/d1soft-yii2-lightboxedimage/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-lightboxedimage
====================

[](#yii2-lightboxedimage)

Yii2 framework widget for lightboxed images.
It extension is wrapper for javascript lightbox coded by [Lokesh Dakar](https://github.com/lokesh)

[![yii2-lightboxedimage](https://camo.githubusercontent.com/02f355e4f9c4acd08b7b66c3b42ff6d83655d8684cf47eb8e2cb764c50e3153b/68747470733a2f2f696d6167652e6962622e636f2f6a327037446e2f696d6167652e706e67)](https://camo.githubusercontent.com/02f355e4f9c4acd08b7b66c3b42ff6d83655d8684cf47eb8e2cb764c50e3153b/68747470733a2f2f696d6167652e6962622e636f2f6a327037446e2f696d6167652e706e67)

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

[](#installation)

The preferred way to install is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist d1soft/yii2-lightboxedimage "*"

```

or add

```
"d1soft/yii2-lightboxedimage": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

View
----

[](#view)

```

```

Widget options
--------------

[](#widget-options)

### src

[](#src)

Image source path

### alt

[](#alt)

*default:* `''`
Alternate image specified text

### title

[](#title)

*default:* `''`
Title image in lightbox

### lightboxid

[](#lightboxid)

Lightbox id

### lightboxClass

[](#lightboxclass)

*default:* `''`
Lightbox class

### lightboxStyle

[](#lightboxstyle)

*default:* `''`
Lightbox inline styles

### imageId

[](#imageid)

*default:* `''`
Image container id

### imageClass

[](#imageclass)

*default:* `''`
Image container class

### imageStyle

[](#imagestyle)

*default:* `''`
Image container inline style

Client options
--------------

[](#client-options)

Client options you can see [here](http://lokeshdhakar.com/projects/lightbox2/#options)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28281047?v=4)[Ermolaev Mark](/maintainers/d1soft)[@d1soft](https://github.com/d1soft)

---

Top Contributors

[![d1soft](https://avatars.githubusercontent.com/u/28281047?v=4)](https://github.com/d1soft "d1soft (10 commits)")

---

Tags

lightboxphpyii2yii2-extensionyii2-frameworkyii2-lightboxedimageyii2-widgetyii2-widgets

### Embed Badge

![Health badge](/badges/d1soft-yii2-lightboxedimage/health.svg)

```
[![Health](https://phpackages.com/badges/d1soft-yii2-lightboxedimage/health.svg)](https://phpackages.com/packages/d1soft-yii2-lightboxedimage)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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