This has had me stomped for the last several hours, and I cannot find how to properly make it work. All the solutions are for local images, but mine crashes on the :
in the http://
.
This is what I have:
$this->widget('bootstrap.widgets.TbGridView', array(
'dataProvider' => $dataProvider,
'columns' => array(
'name',
array(
'name' => 'url',
'type' => 'raw',
'value'=> 'CHtml::image(http://my.domain.com/images/' . $data->url . ')',
),
),
));
I have tried adding parameters like a class, escaping the domain, adding double quotes for the domain, but nothing has worked. Can anyone help?