I have a table books in which i store complete details about the book i.e writer,book title etc.there is also a column which store the name of image that i have store in uploads directry.so in gridview i want to display the image but in cgrid how i can display the image .
use like this in gridview columns array
'$data->book_image:image'
Thank You Ahamed Rifaideen for your kind reply.
I have find a solution whick work for me.
array(
'name' => 'photo',
'type' => 'raw',
'value' => 'CHtml::image(Yii::app()->baseUrl."/uploaded/slider/".$data->photo)'
),