here are two useful snippets that had me stuck for a while:
To download the image:
< cfheader name="Content-Disposition" value="attachment; filename=" >
< cfcontent type="#fileType#/#fileSubtype#" variable="#fileData#" >
ALWAYS CHECK:
this is important, you need to enable blob downloads in cfadmin.
- Open up your datasource in cfadmin,
- click advanced,
- check the checkbox marked: "Enable binary large object retrieval (BLOB)."
1 comment:
Post a Comment