i explain this widget next time…
1.Installation:
[list=1]
[*]extract attachment to place the files in the appropriate folder as given in the widget
[/list]
2.add inside SiteController:
public function actionGallery()
{
$this->render('gallery');
}
3.Wiget Usage:
<?php $this->widget('GalleryWidget',array(
'img'=>array(
array('src'=>'1.jpg','caption'=>'Wonderfull Parrot'),
array('src'=>'2.jpg','caption'=>'Nature Scene'),
array('src'=>'3.jpg','caption'=>'Amazing Car'),
array('src'=>'4.jpg','caption'=>'Android'),
array('src'=>'stunningmesh-android-wallpaper-9-small.jpg','caption'=>'Android2'),
)
));
?>