yii2-gallery module

Features

  • Create/delete photo albums
  • Upload photos
  • Edit gallery
  • The viewer using blueimp gallery

The link of this extension

Github: https://github.com/o...on/yii2-gallery

Packagist: https://packagist.or…on/yii2-gallery

This is my first yii2 extension. I hope it will be useful.

I would be grateful for corrections and additions.

PS Sorry for my awful english :)

If you got this error:

7090

gal.jpg

Change the yii2-gallery/OnmotionAsset.php




class OnmotionAsset extends AssetBundle

{

    public $sourcePath = __DIR__ . '/assets';



to




class OnmotionAsset extends AssetBundle

{

    public $sourcePath;

    public function __construct(){

        $this->sourcePath =  = __DIR__ . '/assets';

  }