classic asp: display jpg using response.BinaryWrite
Posted
by Fuxi
on Stack Overflow
See other posts from Stack Overflow
or by Fuxi
Published on 2010-03-19T23:01:23Z
Indexed on
2010/03/19
23:41 UTC
Read the original article
Hit count: 791
asp-classic
|binarywriter
hi,
i'm displaying an image like this:
<img src='counter.asp'>
counter.asp is doing a hitcounter do determine how often the image was displayed (i'll replace it with a modrewrite url).
the problem: in the counter.asp script i need to send the actual .jpg image to the browser, how could this be done? i suppose i need to load the image through FSO then send it using Response.BinaryWrite - any ideas?
thanks
© Stack Overflow or respective owner