sanchezzzhak / kak-fotorama

Widget fotorama for yii2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fotorama widgets for Yii2

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();?>

About

Widget fotorama for yii2


Languages

Language:PHP 100.0%