|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
CFDocument? No Soup for YOU!
AppServer: JRun4Andrew Fandre 10/10/08 04:30 P > AppServer: JRun4Andrew Fandre 10/14/08 08:57 A 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... ----- 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...
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||