Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
alternative #1
cfcontent problem
my codes is like this:
<table>
<tr>
<td>Hello World</td>
</tr>
</table>
<cfcontent file="image/image.jpg" type=".........jpeg.......">
and the page would not show the 'Hello World', any one can help me to solve
this problem so i can see the Hello World and the image.jpg together at the
same page??
alternative Guest
-
problem downloading using CFCONTENT & CFHEADER
I am running into the same problem. Please reply if you find any fix to this problem. Thanks -
Problem using cfcontent to view files??
i have been investigating the same issue. Several weeks ago all the CFCONTENT on our sites stopped working. the file types range from PDF to DOC. We... -
Problem with cfcontent and charset SHIFT_JIS
I moved my site from CF 5 to CF MX 6.1 ( 6,1,0,63958) and as many I have trouble displaying page in japanese (it was working fine on CF 5). I... -
cfcontent filename problem
Hello all- I'm trying to use cfcontent to force the download of an exe. The problem is that when the save to disk dialog box opens, the filename... -
DateFormat and cfcontent problem
I wonder why the following will not output to msword: -------------------------------------------------------------------------------- ----------... -
Kronin555 #2
Re: cfcontent problem
cfcontent is not designed for what you're trying to do. There's a simple HTML tag that does it:
<img src="image/image.jpg">
Kronin555 Guest
-
alternative #3
Re: cfcontent problem
i think this is not an good idea, since all my image need secure display,
that's why i use cfcontent, but since i need some information display on above
the images. that's why i need a method to solve this problem...
alternative Guest
-
Kronin555 #4
Re: cfcontent problem
If that's the case, you could do the following:
<img src="image/getImageSecurely.cfm?name=image.jpg">
Then have image/getImageSecurely.cfm check user credentials, then do <cfcontent ...>
Kronin555 Guest
-
Adam Cameron #5
Re: cfcontent problem
> cfcontent is not designed for what you're trying to do. There's a simple HTML tag that does it:
Well it is (if you followed another thread about this somewhere).
<img src="someCfmFile.cfm" />> <img src="image/image.jpg">
Where someCfmFile.cfm contains the <cfcontent> tag to return the image
data.
--
Adam
Adam Cameron Guest
-
alternative #6
Re: cfcontent problem
hm... marvellous..
this is what output i want.... thx a lot ya..
alternative Guest
-
Kronin555 #7
Re: cfcontent problem
Originally posted by: Newsgroup User
HTML tag that does it:> cfcontent is not designed for what you're trying to do. There's a simple
Well it is (if you followed another thread about this somewhere).<img src="someCfmFile.cfm" />> <img src="image/image.jpg">
Where someCfmFile.cfm contains the <cfcontent> tag to return the image
data.
If he had said what he said in his reply in the original message, then yes, I
agree. Based on his original post, it said nothing about a requirement that
necessitated the use of cfcontent. Therefore, knowing what we know now, yes my
original post was wrong. And don't be patronizing, please. I know full well
what cfcontent can be used for, as reflected by my reply to his clarification.
Kronin555 Guest
-
Adam Cameron #8
Re: cfcontent problem
Sorry, don't see what's patronising about my post, but I know how things
can come across incorrectly in written text.
Sorry you took offence: none was intended.
--
Adam
Adam Cameron Guest
-
Kronin555 #9
Re: cfcontent problem
I took your comment: "(if you followed another thread about this somewhere)" as
being patronizing, but as you said, it's easy for things to come across
incorrectly (read: misinterpreted) in written text.
I apologize as well for reading into your post. No harm done.
Kronin555 Guest
-
kp2q #10
cfcontent problem
I have a <cfcontent type="application/vnd.ms-excel"> tag on a web page. When I
go to the page, it does not bring up an excel spread sheet. Instead it it
brings up an open save dialog. When I click open or save, an error box pops up
saying that the file cannot be downloaded.
What could be causing this?
Thanks,
Ken
kp2q Guest
-
jonwrob #11
Re: cfcontent problem
There might be an error on the page. Try removing the <cfcontent> tag and making sure the page displays as you expect (except for being in HTML format instead of an excel file).
JR
jonwrob Guest



Reply With Quote

