$ajax->link($html->image('image.jpg', array(), false), 'http://
wicked.url/', array(), null, *false*);

API for $ajax->link(...): 
http://api.cakephp.org/1.2/class_ajax_helper.html#7e2e659c88c9cd4d833d531417d7ae03

Does the last param help?

On May 14, 12:57 pm, Dovdimus Prime <[EMAIL PROTECTED]> wrote:
> This is doing my head in.
>
> I'm trying to use the ajax link with an image as the link:
>
> $ajax->link($html->image('image.jpg', array(), false), etc);
>
> However, $html->image keeps encoding the html so that the html image
> code is displayed on the page instead of the image itself.
>
> How do I get it to display the image?
>
> When would this ever be helpful behaviour?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to