如何给yii CDetailview中的图像赋予高度和宽度

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.

Try this

  array(
   'header' => 'slide_image_name',
   'type' => 'html',
   'value' => 'CHtml::image("path/to/image_folder/".$data->slide_image_name, "Alt text",array("style"=>"width:200px;height:100px"))'
  ),

Try this:

array( 
 'label'=>'slide_image_name',
 'type'=>'raw',
 'value'=>html_entity_decode(CHtml::image($model->slide_image_name,'alt',array('width'=>200,'height'=>100))),
 ),