You can adjust your model's list_items method to return an image for the field. For example, FUEL's assets_model does this. Here is another example:
function list_items($limit = NULL, $offset = NULL, $col = 'date_added', $order = 'desc')
{
$data = parent::list_items($limit, $offset, $col, $order);
foreach($data as $key => $val)
{
$data[$key]['image'] = '<img src="'.$val['image'].'" alt=""/>';
}
return $data;
}
Comments
function list_items($limit = NULL, $offset = NULL, $col = 'date_added', $order = 'desc') { $data = parent::list_items($limit, $offset, $col, $order); foreach($data as $key => $val) { $data[$key]['image'] = '<img src="'.$val['image'].'" alt=""/>'; } return $data; }