kak/fotorama

fotorama for Yii2

dev-master 2016-06-28 08:27 UTC

This package is auto-updated.

Last update: 2024-04-22 04:01:22 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist kak/fotorama "dev-master"

or add

"kak/fotorama": "dev-master"

to the require section of your composer.json file.

docs js http://fotorama.io/

<?php \kak\widgets\fotorama\Fotorama::begin([
	'clientOptions' => [
		'width'=>'100%',
		'nav'=>'thumbs',
		'minwidth'=>'150',
		'maxwidth'=>'600',
		'maxheight'=>'400',
	]
])?>
	<img src="/screen1.png">
	<img src="/screen1.png">
	<img src="/screen1.png">
	<img src="/screen1.png">
<?php kak\widgets\fotorama\Fotorama::end();?>