House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFDocument? No Soup for YOU!

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
AppServer: JRun4
Andrew Fandre
10/10/08 04:30 P
> AppServer: JRun4
Andrew Fandre
10/14/08 08:57 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Fandre
10/10/2008 04:30 PM

AppServer: JRun4 version: CFMX7.0.2.142 tag: <CFDOCUMENT TYPE="PDF"> issue: I'm using a proxy file to pull a file from a directory not in webroot to pull an image into my page. The image is pulled out of the off-root directory with a <CFHEADER "content-disposition" value="attachment; filename=#filename#"> and a <CFCONTENT TYPE="octet-stream"> to make it a generic catch-all file getter. When I pull images this way in a <img src="#filename#"/> in straight CFML it works! But pull the image into a CFDOCUMENT and it gives me the dreaded "red-x". I'd appreciate any insight from brains bigger than mine, cause there'snot many smaller...

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Fandre
10/14/2008 08:57 AM

----- Excess quoted text cut - see Original Post for more ----- Decided to work around this problem by using <CFFile action="copy"> to move the file with CGI and local variables to a webroot accessible folder. Not the best solution, but it got it done...


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists