this is how i do it:

echo
$html->link($html->image("image.png",array('alt'=>$title)),'/images/view/'.$image['id'],null,false,false);

the important piece is the 2nd-last "false" which means this:
$escapeTitle Whether or not the text in the $title variable should be
HTML escaped.

more info -> http://api.cakephp.org/class_html_helper.html


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to