When trying to create an image as a link in cakephp using HtmlHelper, the HTML code is generated as String in the browser
<?php echo $this -> html -> link(
'Visualizar'
.$this -> html -> image('icone_visualizar.png').' | ',
array('escape'=>false,'controller'=>'documents','action'=>'admin_view',$document['Document']['id']));?>
Result
<a href="/documents/admin_view/130">Visualizar<img src="/img/icone_visualizar.png" alt="" /> | </a>