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:
<?php
/* this generates an image using GD and returns the
* image HTML produced by HtmlHelper's
* image function.
*
* @param $text
* @param $padding_around_text
* @param $filename
* @param $html_attributes
*/
$this->TextImage->image('content', 0, 'image1', array('alt' => 'alt-
text'));
?>
Any help would be excellent.
The helper code is available at:
http://bakery.cakephp.org/articles/view/textimage-helper
Cheers
Turgs
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---