onmotion/yii2-gallery blueimp gallery with fileupload in your Yii2 application

modulegalleryphotoblueimp

Yii2 Gallery module

blueimp gallery in your Yii2 application with fileupload

Latest Stable Version Total Downloads Monthly Downloads License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist onmotion/yii2-gallery "*"

or add

"onmotion/yii2-gallery": "*"

to the require section of your composer.json file.

Usage

  1. You must add to your config:

    'modules' => [
        //...
        'gallery' => [
            'class' => 'onmotion\gallery\Module',
        ],
        //...
    ]
  2. Apply migration, run:

    php yii migrate --migrationPath=@vendor/onmotion/yii2-gallery/migrations
  3. Go to your application in your browser

    http://your-host/gallery

    If you want change the view, you can add to your config:

    'components' => [
        //...
        'view' => [
            'theme' => [
                'pathMap' => [
                    '@vendor/onmotion/yii2-gallery/views/default' => '@app/views/gallery', // example: @app/views/gallery/default/index.php
                ],
            ],
        ],
        //...
    ],

    then you need to copy directory 'default' from @vendor/onmotion/yii2-gallery/views to @app/views/gallery and change it as you want.

More samples how it works you can see at blueimp gallery page

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.2.2 is the latest of 13 releases



GPL-3.0 license
Stats
14 github stars & 12 github forks
1 downloads in the last day
10 downloads in the last 30 days
2965 total downloads