2017 © Pedro Peláez
 

yii2-extension yii2-imagecarousel

The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.

image

slavkovrn/yii2-imagecarousel

The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.

  • Sunday, January 7, 2018
  • by slavkovrn
  • Repository
  • 1 Watchers
  • 4 Stars
  • 63 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 17 % Grown

The README.md

Image carousel widget for Yii2 Framework

The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined., (*1)

Image galary PHP Array generator., (*2)

Image galary, (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run:, (*5)

composer require slavkovrn/yii2-imagecarousel

or add, (*6)

"slavkovrn/yii2-imagecarousel": "*"

to the require section of your composer.json file., (*7)

Usage

Set link to extension in your view:, (*8)



= ImageCarouselWidget::widget([
    'id' =>'image-carousel',    // unique id of widget
    'width' => 960,             // width of widget container
    'height' => 300,            // height of widget container
    'img_width' => 320,         // width of central image
    'img_height' => 180,        // height of central image
    'images' => [               // images of carousel
        [
                'src' => 'http://yii2.kadastrcard.ru/uploads/prettyphoto/image1.jpg',
                'alt' => 'Image 1',
        ],
        [
                'src' => 'http://yii2.kadastrcard.ru/uploads/prettyphoto/image2.jpg',
                'alt' => 'image 2',
        ],
        [
                'src' => 'http://yii2.kadastrcard.ru/uploads/prettyphoto/image3.jpg',
                'alt' => 'image 3',
        ],
        [
                'src' => 'http://yii2.kadastrcard.ru/uploads/prettyphoto/image4.jpg',
                'alt' => 'image 4',
        ],
    ]
]) ?>

write comments to admin, (*9)

The Versions

07/01 2018

dev-master

9999999-dev

The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.

  Sources   Download

MIT

The Requires

 

extension yii2 image carousel

07/01 2018

v1.0.0

1.0.0.0

The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.

  Sources   Download

MIT

The Requires

 

extension yii2 image carousel