0
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']));?>
Upshot
<a href="/documents/admin_view/130">Visualizar<img src="/img/icone_visualizar.png" alt="" /> | </a>
Have you tried uppercase H?
– Erlon Charles
but the Htmlhelper object is being considered, so much so that it appears the link and the image in html at the end , but the image appears in string form
– user5020