Hello,
I have a SQL Server 2005 database. This database has a table named "GalleryItem". Each GalleryItem has an ID (an int) and a field called "Thumbnail" (an image). Because this field is an image type, it's stored as binary in the database.
My problem is, my user interface is pure HTML with JQuery. The user runs a query and the results are returned as JSON. Because it's JSON, I don't know how to bring the image back from the database. Is there a way to do this with JSON / JQuery that I'm not aware of? Or do I need to write the image to the disk first and then reference it via some url that I come up with?
Thank you!