PHPackages                             sampa/yii2-gallery-widget - 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. [Framework](/categories/framework)
4. /
5. sampa/yii2-gallery-widget

ActiveYii2-extension[Framework](/categories/framework)

sampa/yii2-gallery-widget
=========================

Blueimp gallery widget for the Yii framework

01PHP

Since May 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Sampa/yii2-gallery-widget)[ Packagist](https://packagist.org/packages/sampa/yii2-gallery-widget)[ RSS](/packages/sampa-yii2-gallery-widget/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Gallery Widget for Yii2
=======================

[](#gallery-widget-for-yii2)

[![Latest Version](https://camo.githubusercontent.com/542dc1482e26fceeb10024997684fd1f3204801b581d006352d4af654abce807/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f32616d69676f732f796969322d67616c6c6572792d7769646765742e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/2amigos/yii2-gallery-widget/tags)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/79c38f906f54e3091a79fca20ace550d5706991223d7f5132162561cbbdf6082/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f32616d69676f732f796969322d67616c6c6572792d7769646765742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/2amigos/yii2-gallery-widget)[![Coverage Status](https://camo.githubusercontent.com/b6670b35dcd1b0efd74ca7afb74a3d5f45a535662eafe353d70451999db6b4b0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f32616d69676f732f796969322d67616c6c6572792d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-gallery-widget/code-structure)[![Quality Score](https://camo.githubusercontent.com/f6ba11d58eb2930ea5ce00687680112a3d0b24355976e285af9e7345ccecd50e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f32616d69676f732f796969322d67616c6c6572792d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-gallery-widget)[![Total Downloads](https://camo.githubusercontent.com/1c32a9a61a10f723ab8d1ed010338ed9131d0945b94eb700a4d1d3298e01a78f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f32616d69676f732f796969322d67616c6c6572792d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/2amigos/yii2-gallery-widget)

Renders a BlueImp Gallery and/or Carousel. BlueImp Gallery is a touch-enabled, responsive and customizable image &amp; video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. It features swipe, mouse and keyboard navigation, transition effects, slideshow functionality, fullscreen support and on-demand content loading and can be extended to display additional.

For more information, please visit

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require 2amigos/yii2-gallery-widget:~1.0
```

or add

```
"2amigos/yii2-gallery-widget": "~1.0"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

### Using Gallery With LightBox

[](#using-gallery-with-lightbox)

```
// on your view

// ...

```

### Using Carousel With Json Encoded Items

[](#using-carousel-with-json-encoded-items)

```
// on your view
