Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32013
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2016-12-28 11:01 -0800 |
| Message-ID | <58e2ece9-ec59-4e3f-b3ec-601ba0012bce@googlegroups.com> (permalink) |
| Subject | Display SQL Server Blob |
| From | minevillian.gmac@gmail.com |
Hi. We have a Microsoft Access application that we are migrating to a web based application. There are a few Blob fields in the backend SQL/Server database that we want to display on the web page. The Blob's can be either PDF, JPG, MSG, etc. format. We are having trouble displaying the blob data being returned. We are not sure of the syntax for displaying blob data in an IMG tag (ie. does the blob data have to be converted first.) The following gives me an ERR_INVALID_URL error:
<img src="data:image/jpeg;base64,' + $(this).data("Blob") + '">
Any help appreciated.
Thanks. Grant.
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Display SQL Server Blob minevillian.gmac@gmail.com - 2016-12-28 11:01 -0800
Re: Display SQL Server Blob Grant MacDonald <minevillian.gmac@gmail.com> - 2016-12-29 03:48 -0800
Re: Display SQL Server Blob Luuk <luuk@invalid.lan> - 2016-12-28 20:16 +0100
Re: Display SQL Server Blob Grant MacDonald <minevillian.gmac@gmail.com> - 2016-12-29 03:43 -0800
Re: Display SQL Server Blob Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2016-12-29 14:18 +0800
csiph-web