Hi
I would like to write an aspx page that uses a RadBinaryImage to load an image from a database with a table structured as follows.
ImageID, ImageData
10, 12345678901234567890
With ImageID a key and ImageData the binary image data for a RadBinaryImage control.
This page (imageresize.aspx) should load the imge with an ImageID specified on a QueryString from the database, then resize the image and finally set the response contentType to "image/jpeg" and write out the image.
I would like to be able to include it on another page in another site, e.g. main.html. The HTML for main.html might include <img src=imageresize.aspx?ID=10>.
Is there any way I can convert a RadBinaryImage into System.Drawing.Image to be able to write it out, or is there any other way of doing this?
Kind Regards, Richard Jonas
I would like to write an aspx page that uses a RadBinaryImage to load an image from a database with a table structured as follows.
ImageID, ImageData
10, 12345678901234567890
With ImageID a key and ImageData the binary image data for a RadBinaryImage control.
This page (imageresize.aspx) should load the imge with an ImageID specified on a QueryString from the database, then resize the image and finally set the response contentType to "image/jpeg" and write out the image.
I would like to be able to include it on another page in another site, e.g. main.html. The HTML for main.html might include <img src=imageresize.aspx?ID=10>.
Is there any way I can convert a RadBinaryImage into System.Drawing.Image to be able to write it out, or is there any other way of doing this?
Kind Regards, Richard Jonas