Is there any way to get the WebBrowser control (in design mode) to show images which are referenced with a relative path, such as this:
If I use an absolute path it works fine:HTML Code:<IMG src='page1_files/image1.jpg'>
Is it possible to tell the WebBrowser the "starting location" when using relative paths?HTML Code:<IMG src='file:///C:/Users/Paul/AppData/Local/Web_Editor/page1_files/image1.jpg'>
(I have just about finished converting all src locations by manipulating strings, but it just occurred to me I might have missed an easier way!)




Reply With Quote