en vez de mostrar asi la imagen intenta, llamando otra pagina q te genere el binario
src="file.asp?ID=<%=rs("ID")%>"
donde le pasas por parametro una clave primaria y la web seria:
algo asi:
Código:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/MyEmpresas.asp" -->
<%
Dim rs__MMColParam
rs__MMColParam = "9"
If (Request.QueryString("Id") <> "") Then
rs__MMColParam = Request.QueryString("Id")
End If
%>
<%
Dim rs
Dim rs_numRows
Set rs = Server.CreateObject("ADODB.Recordset")
rs.ActiveConnection = MM_MyEmpresas_STRING
rs.Source = "SELECT * FROM empresa.pixel WHERE Id = " + Replace(rs__MMColParam, "'", "''") + ""
rs.CursorType = 0
rs.CursorLocation = 2
rs.LockType = 1
rs.Open()
rs_numRows = 0
%>
<%
If Not rs.EOF Then
Response.ContentType = rs("tipo")
Response.BinaryWrite rs("imagen")
End If
%>
<%
rs.Close()
Set rs = Nothing
%>