Re: Setting ALT text in TextImageHelper

2009-05-07 Thread Turgs
Thanks Mohammad I'm actually using the TextImageHelper, not just the HtmlHelper. The TextImageHelper is a wrapper around the HtmlHelper that also creates the image from a supplied text. I'd love any further help anyone can give. Cheers Turgs --~--~-~--~~~---~--~~

Re: Setting ALT text in TextImageHelper

2009-05-07 Thread arif hossen
You can use this code for image tag for alt text in cakephp view . image($imagepath."blankimage.jpg", array('alt' => 'No Image', 'width'=> 130,'height' => 110)); ?> On Thu, May 7, 2009 at 8:35 AM, Turgs wrote: > > Hello > > I'm using the TextImage helper. > > When setting the ALT text for the

Setting ALT text in TextImageHelper

2009-05-06 Thread Turgs
Hello I'm using the TextImage helper. When setting the ALT text for the image tag, the helper replaces my text content with the alt text.. So the alt text shows instead. I've tried looking at why without any success. To use the helper, I'm doing this: TextImage->image('content', 0, 'image1',