> 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...
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... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313847 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

