The images included in the welcome.htm file display correctly, while those in the readme.htm don’t. The same happens with the stylesheet, whose styles are correctly used in the welcome.htm file, while those in the readme.htm file are not. The code is the same for both files, except for the file location, as the welcome.htm file is situated within the welcome folder. Here below the salient lines of the two files:
The reason this is happening is that the compiled package flattens the folder structure – so there are no subfolders. Removing the welcome/ prefix from the URLs will resolve the issue. (You could move readme.htm into the welcome folder so that the paths also resolve on the source side.)
Thank you for your reply @mengheng. I think I didn’t explain the issue well. The last image you posted shows the “readme.htm” file open in the browser, but that works for me too, but it is not shown correctly (no images and no styles) in the “Read me” tab of the installation package.
This may be a feature (or bug) in the readme.htm file display. I don’t believe images display in the readme.htm files in preview mode like the following, where I’ve added an .ico file. It displays fine when I open in a browser, but not in the install package (see red square in below graphic). We have generally not encouraged the use of graphics in readme.htm files so I haven’t complained about this.
If you’d like to open an issue in github, you are very welcome to do so! Start here and click on “New Issue”. Issues · keymanapp/keyman · GitHub