I'm moving some existing (working) code from an old site into a new
Cake version. It's an img tag with src pointing to a URL that outputs
graph images. I chose to create an element with the image tag inside
and the src pointing to a requestAction(). But it's not working. I get
error:

The image "http://DOMAIN/admin/"; cannot be displayed, because it
contains errors.

I'm guessing that the problem lies with layouts/views. But I thought
that, because it's a requestAction, I wouldn't have to be concerned
about it. I've tried setting autoLayout and autoRender = false with no
luck. I've also tried buffering:

ob_start();
$Graph->done();
return ob_get_clean();

Graph::done() essentially calls imagePNG().

Anyone have any idea of where to go with this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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