insolita / yii2-jgallery-widget
http://plugins.jquery.com/jgallery/
Package info
github.com/Insolita/yii2-jgallery-widget
Language:CSS
Type:yii2-extension
pkg:composer/insolita/yii2-jgallery-widget
dev-master
2014-12-11 01:42 UTC
This package is auto-updated.
Last update: 2026-02-18 05:59:09 UTC
README
http://plugins.jquery.com/jgallery/
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist insolita/yii2-jgallery-widget "*"
or add
"insolita/yii2-jgallery-widget": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?php echo \insolita\jgallery\JGalleryWidget::widget([ 'selector'=>'#gallery', 'pluginOptions'=>[ 'mode'=>'full-screen', 'thumbType'=>'image', 'autostart'=>true, 'canClose'=>false, 'backgroundColor'=>'#000', 'textColor'=>'#fff' ] ])?>
More documentation aboot jGallery http://jgallery.jakubkowalczyk.pl/