Html images in WebView

  1. 5 years ago

    AntonioDB

    20 Aug 2018 User since 2018
    Edited 5 years ago by AntonioDB

    Hi!
    I can't load images of an html file, for WebView (offline, all images are in "Assets").
    I tried in various ways to load the files and folder but it did not work.
    In the WebView settings I entered "index.html" for "Inspector URL", and I also tried to load the html code directly in "Inspector HTML".
    Everything else is loaded correctly, CSS styles and even JS seems to work.
    WebView can load images from an html file in "Assets"?
    I hope that you can help me.
    Thanks in advance.

  2. marco

    21 Aug 2018 Administrator User since 2016

    Hi @AntonioDB, you should drop a folder with the right hierarchy directly to the Assets folder and then reply No to the Object conversion question.

    I attached a couple of screenshot and a sample project that shows you how to load images.

  3. AntonioDB

    21 Aug 2018 User since 2018

    Great! Everything works perfectly! :)
    Hi, and thank you so much @marco!

or Sign Up to reply!