小技巧.
<img src="showimg.asp?file=error.jpg" />
showimg.asp
<% response.Redirect "../" & request("file") %>