I have images in my database that are stored as bytes, and I want to show them on screen on my webpage. I can do this with the code below :
Response.Clear();
Response.ContentType = "image/jpeg";
System.Drawing.Image image = retrieveImage(strEncodedImage);
image.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
But this always clears what is on the rest of the webpage. How can I do this whilst keeping the rest of the page intact?
Response.Clear();
Response.ContentType = "image/jpeg";
System.Drawing.Image image = retrieveImage(strEncodedImage);
image.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
But this always clears what is on the rest of the webpage. How can I do this whilst keeping the rest of the page intact?