Thank you. Dave
-----Original Message----- From: Andy Dirnberger [mailto:[email protected]] Sent: July-26-10 12:01 AM To: CakePHP Subject: Re: Link with image and text Things will be different if you're using Cake 1.3, but it will be along the lines of: $this->Html->link($this->Html->image('folio/thumb/' . $feature['Entry'] [0]['image'], array('alt' => __($feature['Portfolio']['title'], true), 'border' => 0)) . '<h3>' . $feature['Portfolio']['title'] . '</h3>', URL_HERE, array('escape' => false)); You can see an example here http://book.cakephp.org/view/1442/link On Jul 25, 9:32 pm, "Dave Maharaj" <[email protected]> wrote: > I am trying to place an link which is an html image then text after the > image. > > But all I get is the actual image source in the screen, not the image. > > <?php echo $html->link( > > $html->image('folio/thumb/'.$feature['Entry']['0']['image'] , array( > > 'alt'=> __($feature['Portfolio']['title'], true), 'border'=>"0")), > > '<h3>'.$feature['Portfolio']['title'] .'</h3>');?> > > Thanks > > Dave Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en
