I upload image and need to show it on details view.I have write below code but fail to set height and width.
array(
'name' => 'slide_image_name',
'type' => 'raw',
'value' => CHtml::image(yii::app()->baseUrl."/images/slider/".$model->slide_image_name,array('width'=>200,'height'=>100,)),
),
Thanks in advance.