<!--- Kill extra output. ---> <cfsilent> <!--- Read in the image binary. ---> <cffile action="readbinary" file="#ExpandPath( './test_girl.jpg' )#" variable="binImage" /> <!--- Set the content disposition and give a suggested file name for the client. ---> <cfheader name="content-disposition" value="attachment; filename=test_girl.jpg" /> <!--- Set the content length. This is the length of the byte array that represenets the binary image object. ---> <cfheader name="content-length" value="#ArrayLen( binImage )#" /> <!--- Set the content type and then stream the binary image to the client. ---> <cfcontent type="image/jpeg" variable="#binImage#" /> </cfsilent>