I’m trying to load an image into a WebImageViewer (‘img_login_header_400x150’). The URLPath is valid, and loads fine when pasted into a browser. However the WebImageViewer never displays anything. I inspected the element in the browser and the div looks fine (pasted below). The Image isn’t inside any other control. TIA for pointing out any obvious mistakes on my part. Thanks!
Var f2 As New FolderItem(FilePath + FileName, FolderItem.PathModes.Native)
If f2 <> Nil Then
If f2.Exists Then
img_login_header_400x150.URL = f2.URLPath
img_login_header_400x150.UpdateBrowser()
End If
End If
<div tabindex="4" style="width: 100%; height: 100%; background-image: url("file:///Users/breynolds/...shortened.../LOGIN/visual_assets/lab_branding/1001/logo_header_login_400x150.png"); opacity: 1; background-position: center center; background-size: auto; background-repeat: no-repeat; outline: none;"></div>
6 posts - 3 participants