Can someone please suggest what should I be doing to call the getPageContext
method and display the image and the rest of the page from within the CFC?
Hello everybody,
I have a cfm template which I refer to in the img src tag (img
src=OutputImage.cfm border=1 /) . It outputs the image
Dude, why are you trying to put the image inside the image tag? Isn't that
just for the image source, a.k.a. the link to where the image is, and not
the actual binary data of the image itself?
I mean, if that's what you really want, why not cffile read the image in and
output it that way instead
Hello everybody,
I have a cfm template which I refer to in the img src tag (img
src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I
would expect it to. Here is the code:
OutputImage.cfm
cfscript
Context = getPageContext();
Context.setFlushOutput(false);
Hello everybody,
I have a cfm template which I refer to in the img src tag (img
src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I
would expect it to. Here is the code:
OutputImage.cfm
cfscript
Context = getPageContext();
Context.setFlushOutput(false);
Hello everybody,
I have a cfm template which I refer to in the img src tag (img
src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I
would expect it to. Here is the code:
OutputImage.cfm
cfscript
Context = getPageContext();
Context.setFlushOutput(false);
5 matches
Mail list logo