Siple Gallery Widget

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'),

			)

		));

?>

do u got the attachment?..

no attachement are available … I guess that’s because you have no more than 3 posts in the forum.

Check the Guidelines For Posting topic for details.

ciao

B)

Ya you are right

[color="#006400"]/* moved from Tips and Snippets */[/color]