Making Image Slider Widget

hey guys I need your help.I need to create image slider for create slider according to our wish.first i craete image upload system to upload photos.then I need to create image widgjet to display images using uploaded images.I used slider extension and custermize it.bt its not work.can anyone tell me how Do I do this.help me pls using sample code.then I can easily understand. thanx in advance


<?php

        $this->widget('application.extensions.slider.slider', array(

            'container'=>'slideshow',

            //'width'=>960, 

           // 'height'=>240, 

            'timeout'=>6000,

            'infos'=>true,

            'constrainImage'=>true,

           'images'=>array(Yii::app()->request->baseUrl.'/images/sliderimages/'.'13825136155.jpg'),

           'alts'=>array(Yii::app()->request->baseUrl.'/images/sliderimages/'.'images content'),

            'defaultUrl'=>Yii::app()->request->hostInfo

            )

        );

?>

Yii::app()->request->baseUrl.’/images/sliderimages/’.'13825136155.jpg like wise I need to give different name .how do I use loop for this.help me pls.I really appriciate your feedback.thank you

hello . your code have this error

CException

Alias "application.extensions.slider.slider" is invalid. Make sure it points to an existing PHP file and the file is readable.

C:\wamp\www\yii\framework\YiiBase.php(322)