PHP code example of kotchuprik / yii2-fotorama-widget
1. Go to this page and download the library: Download kotchuprik/yii2-fotorama-widget library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kotchuprik / yii2-fotorama-widget example snippets
$widget = \kotchuprik\fotorama\Widget::begin([
// you must specify the version (available versions http://cdnjs.com/libraries/fotorama)
'version' => '4.5.2',
]);
$widget = \kotchuprik\fotorama\Widget::begin([
'version' => '4.5.2',
'options' => [
'nav' => 'thumbs',
],
'htmlOptions' => [
'class' => 'anotherCssClass',
],
]);