2017 © Pedro Peláez
 

yii-extension yii-fotorama-widget

Fotorama widget for Yii

image

kotchuprik/yii-fotorama-widget

Fotorama widget for Yii

  • Monday, April 21, 2014
  • by kotchuprik
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii-fotorama-widget

The YiiFotoramaWidget is the wrapper for the Fotorama., (*1)

Usage

To call the widget you should use:, (*2)

<?php $this->beginWidget('ext.yii-fotorama-widget.YiiFotoramaWidget', array(
    // you must specify the version (available versions http://cdnjs.com/libraries/fotorama)
    'version' => '4.5.1',
)); ?>
    <img src="/img/1.jpg"/>
    <img src="/img/2.jpg"/>
    <img src="/img/3.jpg"/>
<?php $this->endWidget(); ?>

To call the widget with the Fotorama options you should use:, (*3)

<?php $this->beginWidget('ext.yii-fotorama-widget.YiiFotoramaWidget', array(
    'version' => '4.5.1',
    'options' => array(
        'nav' => 'thumbs',
    ),
    'htmlOptions' => array(
        'class' => 'anotherCssClass',
    ),
)); ?>
    <img src="/img/1.jpg"/>
    <img src="/img/2.jpg"/>
    <img src="/img/3.jpg"/>
<?php $this->endWidget(); ?>

The Versions

21/04 2014

dev-master

9999999-dev https://github.com/kotchuprik/yii-fotorama-widget

Fotorama widget for Yii

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Constantin Chuprik

extension yii fotorama