Last week I asked for help with displaying
Blob images stored in MSSQL and I was sent
A link to a blog on the subject on forta.com.

This is the meat of the solution, but I am not
Having any luck so far.

I have built a cfquery that grabs the blob field
But I am unable to display it.

<!--- Set MIME type to GIF or JPEG or ... --->
<cfcontent variable="image.imageData" ... >
This file would be saved on the server, and the URL to it
(with the image identifier passed as a URL parameter) can
now be used as an IMG SRC like this: 

<img src="/getImage.cfm?imageid=123">
And that'll do it.

Terry Troxel 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227386
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to