On Oct 16, 4:30 am, MikeK <[EMAIL PROTECTED]> wrote:
> Gary I tried the same code and it just doesn't work for me  -- I'm
> using the alpha 1.2 code.
>
> The action similar to /users/captcha if directly invoked puts the
> image right on the screen no problem.
>
> If invoked from another view the way you have with the html <img>
> syntax it just gives me a blanked X image whose path is the path to
> the action.
>
> When I view the source of the emitted page I get - <img src="/apppath/
> controller/do_imgtoken/###" /> where the #s are what gets rendered
> into the image.

You have, or have not:
1) one page containg html source (either using the html helper or you
typed it directly)
<img src="a url that you typed/defined" />
2) a controller action which receives "a url that you typed/defined"
and outputs a png?

if you go to "a url that you typed/defined" what do you see? If you
see an image you don't have a code problem. Are you calling request
action to get this url (you shouldn't be) and mistakenly returning the
png source? You can't embed an image in html source, and any error
which looks like that suggests to me a misunderstanding.

hth,

AD


--~--~---------~--~----~------------~-------~--~----~
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