http://plugins.jquery.com/jgallery/, (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist insolita/yii2-jgallery-widget "*"
or add, (*4)
"insolita/yii2-jgallery-widget": "*"
to the require section of your composer.json
file., (*5)
Usage
Once the extension is installed, simply use it in your code by :, (*6)
'#gallery',
'pluginOptions'=>[
'mode'=>'full-screen',
'thumbType'=>'image',
'autostart'=>true,
'canClose'=>false,
'backgroundColor'=>'#000',
'textColor'=>'#fff'
]
])?>
More documentation aboot jGallery http://jgallery.jakubkowalczyk.pl/, (*7)