in view
<?php echo CHtml::encode($model->getAttributeLabel('image')); ?>:
<?php echo CHtml::image($model->image); ?>
in controller:
public function actionProfile()
{
$blogger_id = 3;
$model = Blogger::model()->find(array('condition'=>"id='$blogger_id'"));
$this->render('profile',array('model'=>$model));
}
i save image in blob in database but it not showing the image .Plz help me.