PHPackages                             metalguardian/yii2-fotorama-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. metalguardian/yii2-fotorama-widget

AbandonedArchivedYii2-extension

metalguardian/yii2-fotorama-widget
==================================

fotorama image gallery yii2 widget

1.0.1(8y ago)1523.4k↓40.9%6[1 issues](https://github.com/MetalGuardian/yii2-fotorama-widget/issues)1MITPHP

Since Apr 19Pushed 8y ago3 watchersCompare

[ Source](https://github.com/MetalGuardian/yii2-fotorama-widget)[ Packagist](https://packagist.org/packages/metalguardian/yii2-fotorama-widget)[ Docs](https://github.com/MetalGuardian/yii2-fotorama-widget)[ RSS](/packages/metalguardian-yii2-fotorama-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (1)

DEPRECATED
==========

[](#deprecated)

Unfortunately, original Fotorama gallery is no longer maintained. You still can use this extension if fotorama fits your project. Check [github thread](https://github.com/artpolikarpov/fotorama/issues/532) for alternatives.

Fotorama Yii2 widget
====================

[](#fotorama-yii2-widget)

This yii2 extension is a wrapper for the powerful jQuery gallery [Fotorama](http://fotorama.io/).

[![Latest Stable Version](https://camo.githubusercontent.com/a50d94d4b82b1f9ced557682b30887ff8dbab0a459d7239c75ac5aebd2975a87/68747470733a2f2f706f7365722e707567782e6f72672f6d6574616c677561726469616e2f796969322d666f746f72616d612d7769646765742f762f737461626c652e737667)](https://packagist.org/packages/metalguardian/yii2-fotorama-widget)[![Total Downloads](https://camo.githubusercontent.com/3caffa6ab7b38938619eaa10e8b10292845553f9073715241e2140148fc415a8/68747470733a2f2f706f7365722e707567782e6f72672f6d6574616c677561726469616e2f796969322d666f746f72616d612d7769646765742f646f776e6c6f6164732e737667)](https://packagist.org/packages/metalguardian/yii2-fotorama-widget)[![Latest Unstable Version](https://camo.githubusercontent.com/fce5ef9da130c703d7d8c6ac63a086eaa6cab75b2ac1866c121c434b74680b6c/68747470733a2f2f706f7365722e707567782e6f72672f6d6574616c677561726469616e2f796969322d666f746f72616d612d7769646765742f762f756e737461626c652e737667)](https://packagist.org/packages/metalguardian/yii2-fotorama-widget)[![License](https://camo.githubusercontent.com/ab846e0b86e72846257b30f4e993cef5fb0296500a880427f3387f091befd1b8/68747470733a2f2f706f7365722e707567782e6f72672f6d6574616c677561726469616e2f796969322d666f746f72616d612d7769646765742f6c6963656e73652e737667)](https://packagist.org/packages/metalguardian/yii2-fotorama-widget)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/858dafbdbf449ca3087665a17ed58d0fb93177fa6ac8de81ff2c0c2ce7cb6afa/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6574616c477561726469616e2f796969322d666f746f72616d612d7769646765742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MetalGuardian/yii2-fotorama-widget/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/fb69853bfc875480ec5b0d9e2b794e59cf678a31ffeac0421474aa06238e2b6b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6574616c477561726469616e2f796969322d666f746f72616d612d7769646765742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MetalGuardian/yii2-fotorama-widget/?branch=master)[![Build Status](https://camo.githubusercontent.com/675f17e0de0a2e5e81bce69ee0f965e7b64c589223d579417df1552e66b97490/68747470733a2f2f7472617669732d63692e6f72672f4d6574616c477561726469616e2f796969322d666f746f72616d612d7769646765742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MetalGuardian/yii2-fotorama-widget)[![Code Climate](https://camo.githubusercontent.com/dfb2266a7f4a15d779be3731d369a9b442f1758542da669004166804def0dfce/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4d6574616c477561726469616e2f796969322d666f746f72616d612d7769646765742f6261646765732f6770612e737667)](https://codeclimate.com/github/MetalGuardian/yii2-fotorama-widget)

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

[](#installation)

Install this extension using [composer](http://getcomposer.org/download/).

```
composer require metalguardian/yii2-fotorama-widget

```

You should have configured `asset-packagist` repository in your project's `composer.json` or installed `fxp/composer-asset-plugin` plugin. For more information see [Yii2 bower/npm assets manual](http://www.yiiframework.com/doc-2.0/guide-structure-assets.html#bower-npm-assets)

Usage
-----

[](#usage)

First way:

```
