elisevgeniy / yii2-lifhtbox2-lokeshdhakar
Package
Package info
github.com/elisevgeniy/yii2-popup-image
Language:JavaScript
Type:yii2-extension
pkg:composer/elisevgeniy/yii2-lifhtbox2-lokeshdhakar
1.1.0
2020-04-12 21:24 UTC
Requires
- php: >=5.6.0
- yiisoft/yii2: ^2.0.13
This package is auto-updated.
Last update: 2026-02-13 10:27:47 UTC
README
Based on a plugin jQuery Lightbox v2.11.1 by Lokesh Dhakar
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist elisevgeniy/yii2-lifhtbox2-lokeshdhakar "*"
or add
"elisevgeniy/yii2-lifhtbox2-lokeshdhakar": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by:
<?= \b4djo\popup_image\PopupImageWidget::widget([ 'thumbnail' => $thumbnailUrl, 'source' => $sourceUrl, 'description' => $description, 'group' => "default_group", 'height' => "100%", 'width' => "100%", 'style' => "" ]); ?>