The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist infinitiweb/yii2-fotorama "dev-master"
or add
"infinitiweb/yii2-fotorama": "dev-master"
to the require section of your composer.json
file.
docs js http://fotorama.io/
<?php \infinitiweb\widgets\yii2\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 infinitiweb\widgets\yii2\fotorama\Fotorama::end();?>