dev-master
9999999-devmultiple image selector from gallery for yii2
MIT
The Requires
extension yii2 gallery-selector image-selector
multiple image selector from gallery for yii2
multiple image selector from gallery for yii2, (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require --prefer-dist vivekmarakana/yii2-image-gallery-selector "dev-master"
or add, (*5)
"vivekmarakana/vivekmarakana/yii2-image-gallery-selector": "dev-master"
to the require section of your composer.json
file., (*6)
Once the extension is installed, simply use it in your code by :, (*7)
$images = []; foreach (Image::find()->each(100) as $row) { $images[] = [ 'name' => $row->image_name, //optional 'url' => $row->url, 'id' => 'image-' . $row->id, ]; } echo \vivekmarakana\widgets\GallerySelector::widget(['images' => $images]);
multiple image selector from gallery for yii2
MIT
extension yii2 gallery-selector image-selector