convert base64 string to image in Infopath

C

Charlie Genge

Hi,

I'm a bit stuck at the moment. I'm wondering if there is an easy way to
display an element that contains the base64 encrypted version of a .jpg file
in Infopath. I got the base64 string by using an Access Database as the data
source. It would be great if I could use a picture/rich textbox control to
display the images that come from Access?

Thanks very much,

Charlie
 
G

Greg Collins [InfoPath MVP]

I don't know if this is what you are looking for:

Display Inline Pictures From a Rich Text Field on a Web Page
http://www.infopathdev.com/howto/tutorials/default.aspx?i=46622d199b5f4042acecc1953b55676a

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


Hi,

I'm a bit stuck at the moment. I'm wondering if there is an easy way to
display an element that contains the base64 encrypted version of a .jpg file
in Infopath. I got the base64 string by using an Access Database as the data
source. It would be great if I could use a picture/rich textbox control to
display the images that come from Access?

Thanks very much,

Charlie
 
C

Charlie Genge

Hi Greg,

It was actually the other way round that I'm trying to do it. I've got a
picture (stored in an Access table) and I'm trying to display it in InfoPath
in a rich text box. When I do, it just shows me a couple of pages of base64
text which I believe is how XML stores images (or how Infopath converts
images to be stored in XML).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top