I am using Sandcastles to create a CHM help file for my project. I want a separate CHM file that I can distribute, preferably on my own.
The problem is that for embedding images, it seems that the image must exist in the user system separately from the CHM file. When I look at the source of my CHM file, it looks like this:
<img src="C:\Users\me\Pictures\wave.jpg" />
So, if I email my CHM file to someone and they donβt have this image, it will not work. An alternative could be:
<img src="images/wave.jpg" />
And write this person a ZIP containing my CHM file and image folder. This is not a very pleasant solution, in my opinion.
Is there a way to βinsertβ an image into a CHM file? Or is there a clean solution for this?
For the record, I include this image through this XML code in my C # project.
source
share