how to displaying contents of a field in oBrowser

John Boehme john at
Thu Apr 8 15:54:15 UTC 2021

Hi Doug,

When setting the html of a page directly instead of pointing to the file, any relative links in the document will be broken (typically as in images), because relative to where the page is located (oBrowser), the image link isn't reachable. Absolute image path should work in the html to get to the image, but that is not really a nice solution.

I've seen before that you can embed an image in the html document by uu encoding it and putting that encoded image in the "<image" html tag. I can't remember the syntax for that now but hopefully this will help.

Just found this:

<img src="data:image/png;base64,

Followed by the uu encoded image should put the image on the page without using an external link.

John Boehme

-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at] On Behalf Of Doug Easterbrook
Sent: Wednesday, April 7, 2021 8:10 AM
To: OmnisDev List - English
Subject: how to displaying contents of a field in oBrowser

I’m sure somebody has done this, so I’m looking for a quick hint.

I have a field that contains a full web page.   lets call it     MYDATA

I want to get oBrowser to display that full web page without writing the contents to a file and thne displaying it.

i.e.   I know I can
1) write the contents of MYDATA to a file

2) give $urlorcontrolname the path name to the file and it will display

I’m hoping there is a way to simply give oBrowser the contents of MYDATA and show the web page.

anybody done that. (and willing to share the code shortcut).        

thanks in advance.

Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at
Phone (403) 650-1978

Manage your list subscriptions at Start a new message -> mailto:omnisdev-en at 

More information about the omnisdev-en mailing list