branchonline/yii2-lightbox Lightbox widget for Yii2

module

Lightbox Widget for Yii 2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist branchonline/yii2-lightbox "*"

or add

"branchonline/yii2-lightbox": "*"

to the require section of your composer.json.

Usage

Once the extension is installed, simply add widget to your page as follows:

use branchonline\lightbox\Lightbox;

echo Lightbox::widget([
    'files' => [
        [
            'thumb' => 'url/to/thumb.ext',
            'original' => 'url/to/original.ext',
            'title' => 'optional title',
        ],
    ]
]);

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v1.2.0 is the latest of 4 releases



Apache-2.0 license
Stats
14 github stars & 14 github forks
51 downloads in the last day
1211 downloads in the last 30 days
113989 total downloads