Showing an image

  • Thread starter Thread starter tma
  • Start date Start date
Something as simple as this should work:

Dim image As System.Drawing.Image =
System.Drawing.Image.FromFile("PATH")
Response.Clear()
image.Save(Response.OutputStream,
System.Drawing.Imaging.ImageFormat.Gif)
Response.End()
image.Dispose()

Karl
 
So far this has not worked. I'm going to play with it and see what's
missing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top