
Load image from file in my ASP to display to the browser
I suppose the information stored in Rs("ImageField") is probably returned as
a bytearray. Therefore if the UBound of the array is 0 then there must be a
blank entry.
->
...
Response.ContentType = "image/jpeg"
...
If UBound(Rs("ImageField")) <> 0 Then
Response.binaryWrite Rs("ImageField")
Else
Response.binaryWrite SomeOtherByteArray
End If
...
<-
As for where you get the other image from I have no idea because I don't
know what the rest of your code is like, however you might be able to
response.redirect to it (cheeky but it might work).
--
Dominic