Yes, set the last parameter of $html->link() to false, so it doesn't escape the html of the title (which is your image source).
$thumb_img = $html->image('yourimage.jpg'); echo $html->link( $thumb_img, '/your/link', array(), false, false ); On Jul 26, 12:44 pm, roliver <[EMAIL PROTECTED]> wrote: > Hi all, > > Is it possible to use $html->link and $html->image together. As in > wrapping html->link around the html->image so that an anchor tag can > be added to the image so the user can click it? > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---