RE: Link with image and text

2010-07-25 Thread Dave Maharaj
Thank you. Dave -Original Message- From: Andy Dirnberger [mailto:andy.dirnber...@gmail.com] 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(

Re: Link with image and text

2010-07-25 Thread Andy Dirnberger
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)) . '' . $feature['Portfolio']['title'] . '', URL_HERE,

Link with image and text

2010-07-25 Thread Dave Maharaj
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. link( $html->image('folio/thumb/'.$feature['Entry']['0']['image'] , array( 'alt'=> __($feature['Portfolio']['title'], true), 'border'=>"0")