|
Matt First of all what type of database are you
using? If its Microsoft
SQL than make the field that is to store the image a “varchar”. Now when you input the data, do not put
the file in. Instead put the server path To the file. “web/images/picture_blob.jpg”.
Now when you want to show it on a page. Use a standard <CFQuery
name=bubba> select * from myfield </cfquery> Then Use a <cfoutput
query=blob>#bubba#</cfoutput> Hope that helps. Steve -----Original Message----- Hi I am having to deal with
images stored as BLoBs in a DB how in gods name do I query
the DB for the blob and display the image? I tried query it out .. use
cfcontent to display with correct mime type .. no good any ideas? thanks |\--------------------/| |
- [ cf-dev ] CF anf BLoBs Matt Horn
- Re: [ cf-dev ] CF anf BLoBs Steve & Karen Kahn
- Re: [ cf-dev ] CF anf BLoBs Matt Horn
- RE: [ cf-dev ] CF anf BLoBs Paul Fennell
