Showing images from DB
-
Hi All, I have an app and it retrieves images from database (image column) and shows the user in a spesific format. However, I use a generic handler(.ashx file) to show the images, it does not show more than 1 image. It only shows 1 image the other images appear like they don't exist. My code is like below; In aspx page: It prints
In ashx page: I get the byte[] of the images and I write context.Response.BinaryWrite(buffer); context.Response.Flush(); What can I do? Thx. :doh:
-
Hi All, I have an app and it retrieves images from database (image column) and shows the user in a spesific format. However, I use a generic handler(.ashx file) to show the images, it does not show more than 1 image. It only shows 1 image the other images appear like they don't exist. My code is like below; In aspx page: It prints
In ashx page: I get the byte[] of the images and I write context.Response.BinaryWrite(buffer); context.Response.Flush(); What can I do? Thx. :doh:
Use HttpHandlers[^].
Help people,so poeple can help you.