How can you display an image saved in a variable?
Let’s say that the image is saved in $model->image, which is returned from the database.
I used
echo CHtml::image($model->image, 'image',
array("class" => "clickme", "width"=>"300", "height"=>"300"));
But it doesn’t work.
Anyone has any ideas?
Thanks!