Android Question Image from Files in HTML File not Visible

hasexxl1988

Active Member
Licensed User
Longtime User
Hello,

i cant load in the HTML Code a Image from App Files Folder. With Exist Check 'If File.Exists(File.DirAssets,"background1.jpg") = True Then' the File exist.

B4A Relevant Code:
B4X:
Dim FImage As String = File.DirAssets & "/background1.jpg"
PDFHTMLSite.Text = PDFHTMLSite.Text.Replace("#####",FImage)

And testet with:
B4X:
Dim FImage As String = File.DirAssets & "background1.jpg"
PDFHTMLSite.Text = PDFHTMLSite.Text.Replace("#####",FImage)

HTML Code:
HTML:
<img src="#####/background1.jpg" width=595 height=842>


Where is the mistake? : D Please help me
 

Attachments

  • 1618826394146.png
    1618826394146.png
    312 bytes · Views: 69
Top