image in cgridview thumbnail


In my tabe I have (id, name,…, path).

How can I display in my cgridview a thumbnail or a link to the image based on path, by hovering the image will be displayed in a bigger dimensions?

example : hover


you can set the format of that column as image






read more about formats

Thank you,

But if i want to use html tag img, what is the path for an image.jgp inside images folder in yii





			'value'=>'CHtml::image(Yii::app()->baseUrl . "/myimage.jpg")',