mrbig00 / yii2-unite-gallery
Unite gallery wrapper for Yii2
Installs: 122
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/unitegallery: *
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2025-04-22 03:15:18 UTC
README
Unite gallery wrapper for Yii2
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist mrbig00/yii2-unite-gallery "*"
or add
"mrbig00/yii2-unite-gallery": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \mrbig00\unitegallery\UniteGalleryWidget::widget( [ 'theme' => 'tilesgrid', 'options' => [ ], 'items' => [ [ 'src' => 'source.jpg', 'data-image' => 'remote.jpg', ], [ 'src' => 'source.jpg', 'data-image' => 'remote.jpg', ], ], ] ); ?>