I've got a page that I display in a wxHtmlWindow that I generate
and load with SetPage(). Hence, it the wxHtmlWindow doesn't know
any file name or url for this page. This is OK, but the page
is supposed to display an image. All of the examples in the demo
show something like <IMG SRC="pic.png">, where the image is in the
same directory as the one the page was loaded from. I don't have
a directory like that, because my page is loaded from SetPage().
What format should I put the SRC filename in?
I've tried file names, e.g.:
<IMG SRC="D:\Dir\dir2\pic.png">
I've tried file names with file:, e.g.:
<IMG SRC="file:D:\Dir\dir2\pic.png">
I've tried URI(?), e.g.:
<IMG SRC="///D|/Dir/dir2/pic.png">
I've tried file+ URI(?), e.g.:
<IMG SRC="file:///D|/Dir/dir2/pic.png">
Nothing seems to work. Is this possible at all??? If so,
what's the secret handshake?
TIA,
(Python 2.2, WinNT 4.0 SP6, wxPython version 2.4.1.2)
Al