Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32033

Re: Display SQL Server Blob

Newsgroups comp.lang.javascript
Date 2016-12-29 03:43 -0800
References <58e2ece9-ec59-4e3f-b3ec-601ba0012bce@googlegroups.com> <58640f81$0$21460$e4fe514c@news.xs4all.nl>
Message-ID <35e2653b-b9f5-41ed-b0fb-9fe4f86755c2@googlegroups.com> (permalink)
Subject Re: Display SQL Server Blob
From Grant MacDonald <minevillian.gmac@gmail.com>

Show all headers | View raw


Sorry, my copy from the source code to this post is missing the single quote before the <img

Yes, the img won't work with the PDF blobs or the MSG blobs...Microsoft Access must have built in libraries to handle that easily.  

On Wednesday, December 28, 2016 at 3:16:26 PM UTC-4, Luuk wrote:

> > <img src="data:image/jpeg;base64,' + $(this).data("Blob") + '">
> ...................................^..........................^
> 
> single quotes?
> 
> But, as the tag says IMG, it will only display images (PNG, JPG, BMP)
> and not thing like PDF
> 
> >
> > Any help appreciated.
> >
> > Thanks. Grant.
> >

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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