elisevgeniy/yii2-lifhtbox2-lokeshdhakar

Package

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Language:JavaScript

Type:yii2-extension

1.1.0 2020-04-12 21:24 UTC

This package is auto-updated.

Last update: 2025-06-13 09:04:08 UTC


README

Based on a plugin jQuery Lightbox v2.11.1 by Lokesh Dhakar

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist elisevgeniy/yii2-lifhtbox2-lokeshdhakar "*"

or add

"elisevgeniy/yii2-lifhtbox2-lokeshdhakar": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by:

<?= \b4djo\popup_image\PopupImageWidget::widget([
    'thumbnail'     => $thumbnailUrl,
    'source'        => $sourceUrl,
    'description'   => $description,
    'group' => "default_group",
    'height' => "100%",
    'width' => "100%",
    'style' => ""
]); ?>