insolita/yii2-jgallery-widget

http://plugins.jquery.com/jgallery/

Installs: 41

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:CSS

Type:yii2-extension

dev-master 2014-12-11 01:42 UTC

This package is auto-updated.

Last update: 2024-12-18 03:34:59 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/