G
Guest
I am storing an image in an SQL database and have one field as an image
datatype. I am also using a webservice to transport data.
I want to be able to resize the image and pass back a thumbnail image in a
byte[] of what is in the database.
I also want to be able to display this image in an <asp:image></asp:image>
control.
Is there any way to do this? Most of the examples that I've seen have used
the technique of having the src of the image set to a separate page with a
querystring value, and have the page do a Response.BinaryWrite(). I don't
want to do it that way becuase that would mean I would have to call the
webservice again, and I only want to call the webservice once.
Thanks in advance,
John Scott.
datatype. I am also using a webservice to transport data.
I want to be able to resize the image and pass back a thumbnail image in a
byte[] of what is in the database.
I also want to be able to display this image in an <asp:image></asp:image>
control.
Is there any way to do this? Most of the examples that I've seen have used
the technique of having the src of the image set to a separate page with a
querystring value, and have the page do a Response.BinaryWrite(). I don't
want to do it that way becuase that would mean I would have to call the
webservice again, and I only want to call the webservice once.
Thanks in advance,
John Scott.