[web2py] Re: Embedding an html string in a component

2014-07-17 Thread Anthony
The image source is shown as src="cid:image001.png@01CFA1BC.429B6EC0". You'll need to save the image separately and service it as a static file, changing the src attribute accordingly. Anthony On Thursday, July 17, 2014 5:24:16 PM UTC-4, Jim S wrote: > > Thanks Anthony, that worked. Now I just

[web2py] Re: Embedding an html string in a component

2014-07-17 Thread Jim S
Thanks Anthony, that worked. Now I just have to figure out how to get the images to display as well. -Jim On Thursday, July 17, 2014 3:16:18 PM UTC-5, Jim S wrote: > > Thanks Anthony, I'll give that a try. > > -Jim > > On Thursday, July 17, 2014 3:14:59 PM UTC-5, Anthony wrote: >> >> You can ex

[web2py] Re: Embedding an html string in a component

2014-07-17 Thread Jim S
Thanks Anthony, I'll give that a try. -Jim On Thursday, July 17, 2014 3:14:59 PM UTC-5, Anthony wrote: > > You can extract just the DIV and return it as the HTML of the component. > As for the CSS, technically that should probably go in the head element of > the parent page, but I think most br

[web2py] Re: Embedding an html string in a component

2014-07-17 Thread Anthony
You can extract just the DIV and return it as the HTML of the component. As for the CSS, technically that should probably go in the head element of the parent page, but I think most browsers will still recognize it if you put it elsewhere (e.g., within the returned component HTML). Anthony On