PHPackages                             laravel-admin-extend/grid-lightbox - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. laravel-admin-extend/grid-lightbox

ActiveProject[Image &amp; Media](/categories/media)

laravel-admin-extend/grid-lightbox
==================================

display images

07CSS

Since Dec 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/liubin9043/grid-lightbox)[ Packagist](https://packagist.org/packages/laravel-admin-extend/grid-lightbox)[ RSS](/packages/laravel-admin-extend-grid-lightbox/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Turn your grid into a lightbox &amp; gallery
============================================

[](#turn-your-grid-into-a-lightbox--gallery)

This is an extension to integrates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/) into laravel-admin.

DEMO [lightbox](http://demo.laravel-admin.org/lightbox/lightbox) &amp; [gallery](http://demo.laravel-admin.org/lightbox/gallery)

Login using `admin/admin`

This demo is test study, nothing else.

Installation
------------

[](#installation)

```
composer require laravel-admin-extend/grid-lightbox

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

Configurations
--------------

[](#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
-----

[](#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]);

//width & height properties
$grid->picture()->lightbox(['width' => 50, 'height' => 50]);
$grid->picture()->gallery(['width' => 50, 'height' => 50]);

//img class properties
$grid->picture()->lightbox(['class' => 'rounded']);
$grid->picture()->gallery(['class' => ['circle', 'thumbnail']]);
```

Donate
------

[](#donate)

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

[![PayPal Me](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/zousong)

[![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/770484f002f64c9988ef62e309b9f9892b2619aa28fa0ff29f241ebdbaae7de3?d=identicon)[liubin9043](/maintainers/liubin9043)

---

Top Contributors

[![liubin9043](https://avatars.githubusercontent.com/u/18131248?v=4)](https://github.com/liubin9043 "liubin9043 (3 commits)")

### Embed Badge

![Health badge](/badges/laravel-admin-extend-grid-lightbox/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-admin-extend-grid-lightbox/health.svg)](https://phpackages.com/packages/laravel-admin-extend-grid-lightbox)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
