It seems I am able to write a single image with the following code:
ID1 = replace(request("ID1"), "'", "''")
connStr = Application("DSNFPT")
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "select [Image],[ContentType] from FPT_Images where ID = " & int(ID1) & " order by id desc", connStr, 2, 4
If Not rs.EOF Then
Response.ContentType = rs("ContentType")
Response.BinaryWrite rs("Image") & "here"
response.write "No Image Available"
Set rs = Nothing
However I need to write 2 images in the same page (they will actually overlap each other so I can't just create 2 img tags that call different pages). I also can't overlap the image myself and then upload it that way because I have thousands of combinations that the user can put together. Is this possible to do using binary.write or should I be looking for a different solution?