I was just trying to insert a HTML file into a page. The HTML files contains a few images, and the HTML file and images have been inserted into the File Resource in the Designer.
After i Create->Insert Resource->HTML, the images does not appear, but with a icon with a red cross. It seems that it can’t find the images.
The base href can jump from the domain, the database, the view, or the form throughout your application depending on your current location. I would imagine that you’re current base href is, as Domino is known to do this, pointing to the domain name and not your database. As your HTML file looks to the same directory level for the images (I would assume so anyways), you’re returning the dead image links.
The fast way to solve this is to use a “/” in front of the image name - , but this doesn’t fix the problem.
You’re best bet is to set the base href in the HTTP Header of your design element (in this case, a page) to use the database.
Put this in your HTML Head Contents section of the page: