
One for the experts - show image from a database
Hey all,
not sure if this is the correct NG or not, but I'm displaying images in an
.asp file, by pulling the image from a database with code such as:
[show-image.asp]
[dsn connection]
mySQL="select * from images where id = 1"
set myRS = conntemp.execute(mySQL)
response.contenttype = myRS("contenttype")
response.binarywrite myRS("filedata")
this works perfectly, nothing overly complicated there - but it DOES NOT
work for progressive jpegs...
I've tried setting response.buffer = TRUE, and using response.flush and
response.clear, but to no avail. BMP's GIF, non-progressive JPEG's are all
fine, it's just progressive JPEG's that dont work.
Anyone have any ideas?
Help!
Ben