I&#039;m trying to display an image that is stored in my db as binary data . I read the FAQ (http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=172) and followed the codes. When I open my asp page it displays a page of weird characters.. not an image. Please help! <BR>Below is my code:<BR><BR>showimage1.asp<BR><BR><BR>&#060;% <BR> Dim oConn <BR> Dim oRs <BR> Dim iID <BR> iID=8 <BR> &#039;iID = Request.QueryString("ID") <BR> <BR>&#039; Connect to the DB <BR>&#039; ***************** <BR> Set oConn = Server.CreateObject("ADODB.Connection") <BR> Set oRs = Server.CreateObject("ADODB.recordset") <BR> curDir = Server.MapPath("Sample.mdb") <BR> oConn.Open "DBQ="& curDir &";Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;" <BR><BR> strSQL = "SELECT FILE FROM TFILES WHERE ID = " & iID <BR><BR>oRs.Open strSQL, oConn <BR>&#039;Do while Not oRs.EOF <BR><BR> &#039;Set the ContentType to image/gif <BR> Response.ContentType = "image/gif" <BR> <BR>&#039;Use Response.BinaryWrite to output the image <BR> Response.BinaryWrite oRs("FILE") <BR><BR>&#039;oRs.MoveNext <BR>&#039;Loop <BR><BR>&#039; Destruction <BR>&#039; *********** <BR> oRs.Close <BR> oConn.Close <BR> Set oRs = Nothing <BR> Set oConn = Nothing <BR><BR>%&#062; <BR>