I'm trying to include an image located in the xui.DefaultFolder in a locally created webpage as shown in the following code: 
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
The alt text is always displayed.
What format should the link to the file take in order for this to work?
			
			
			
				B4X:
			
		
		
		Sub Button1_Click
    File.Copy(File.DirAssets,"test.png",xui.DefaultFolder,"xyz.png")
    Log("Copied file")
    'How do I refer to the file xyz.png in the html?
    Dim link = "file:///xyz.png" 'What is the correct format for this link?
    html=$"<!DOCTYPE html>
<HTML><HEAD><title>Webview Test</title>
</head>
<h1>Webview Test with images in Internal Directory</h1>
<P>
<img src="${link}" width = "90%" alt="Oops! Couldn't show image!" >
</body></html>
"$
    WebView1.LoadHtml(html)
End SubThe alt text is always displayed.
What format should the link to the file take in order for this to work?
 
				 
 
		 
 
		 
						
					 
 
		 
 
		 
 
		