mhanoglu / grid-lightbox

Turn your grid into a lightbox & gallery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turn your grid into a lightbox & gallery

This is an extension to integrates Magnific Popup into laravel-admin.

DEMO lightbox & gallery

Login using admin/admin

Installation

composer require laravel-admin-ext/grid-lightbox

php artisan vendor:publish --tag=laravel-admin-grid-lightbox

Configurations

Open config/admin.php, add configurations that belong to this extension at extensions section.

    'extensions' => [

        'grid-lightbox' => [
        
            // Set to `false` if you want to disable this extension
            'enable' => true,
        ]
    ]

Usage

Use it in the grid:

// simple lightbox
$grid->picture()->lightbox();

//gallery
$grid->picture()->gallery();

//zoom effect
$grid->picture()->lightbox(['zooming' => true]);
$grid->picture()->gallery(['zooming' => true]);

Donate

Help keeping the project development going, by donating a little. Thanks in advance.

PayPal Me

-1

License

Licensed under The MIT License (MIT).

About

Turn your grid into a lightbox & gallery

License:MIT License


Languages

Language:CSS 67.2%Language:PHP 32.8%