I'm trying to load an image that is stored on the users SD card into a webview (created with designer). I get the webview to load but I cant seem to get the image to load. All I get is a blank white screen that I can zoom and scroll around.
The code I was able to come up with is below.
Anybody have any Ideas?
Thank you in advance for any help
The code I was able to come up with is below.
B4X:
ImagePath = ("file:///" & File.DirRootExternal & "/SavedImages/" & TempName & ".jpg")
TempHtml = "<img style=" & "Max-width: " & maxWidth & "; height: auto; src='" & ImagePath & "'/>"
WebView1.LoadHtml(TempHtml)
Thank you in advance for any help
Last edited: