### Show an Image

Various ways to show images in a webview.
Show an Image located in the DirApp folder
The DirApp folder is the same folder as where the Jar is located
HTML: File webviewtest.html, Image: webviewtest.png
<html>
<body>
<h2>Webview Show Image Test</h2>
<HR>
<P>Image placed in DirApp folder</P>
<img src="webviewtest.png">
</body>
</html>
B4J
Dim url As String = "file:///" & File.DirApp & "\webviewtest.html"
webview1.LoadUrl(url)
As previous, but images stored in DirApp/Images Folder
<html>
<body>
<h2>Webview Show Image Test</h2>
<HR>
<P>Image placed in DirApp/Images folder</P>
<img src="images/webviewtest.png">
</body>
</html>

Changed: , Category: WebView, File: T6C284M2137.htm, ID: 2137