Path for assets to display in Webviewer

My app uses several html files which are added as assets. The HTML files have linked *.png or *.jpg files which reference the files as below:

<img src=“CPFTime1.png”

where the ‘CPFTime1.png’ file is in the same directory as the html file on my harddrive. What is the correct path that I should use when the html file and the *png files are both files are added as assets in the app? Is it the same for both Android and iOS?

Tkx

You will be unable to directly reference assets stored anywhere other than the Internet via a Url or as base64 strings in HTML page itself.

1 Like

Thanks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.