There are a variety of ways to do this: the simplest is to output the HTML
img
tag code directly:
Response.Write(@"<img src=""http://www.MyDomain.com/MyImage.jpg"" />");
Unfortunately, that means that the folder the image is in must be accessible to all users - or the image can't be read.
Another solution is to embed an ashx page reference in the img tag, and load the image in that - it's a small change to existing code:
A generic Image-From-DB class for ASP.NET[
^] This way, the images are only available via your site - not generally.
[edit]Domain and image name made generic - OriginalGriff[/edit]