I am using Sandcastles to generate a CHM help file for my project. I want a standalone CHM file that I can distribute, preferably on its own.
The issue I have is that to embed images it appears that the image needs to exist on the user's system separately from the CHM file. When I view the source of my CHM file, it looks like:
<img src="C:\Users\me\Pictures\wave.jpg" />
So if I email my CHM file to someone and they do not have this image, it will fail. An alternative would be to do:
<img src="images/wave.jpg" />
And email this person a ZIP containing my CHM file and an images folder. This is not a very nice solution either in my opinion.
Is there any way to "embed" an image within a CHM file? Or is there a clean solution to this?
For the record, I am including this image via this XML code on my C# project.
/// <summary>
/// Lorem ipsum dolor sit amet, consectetur adipiscing elit.
/// Pellentesque quis tortor sit amet magna posuere sagittis.
/// Integer aliquet nibh elit, ut porta ex laoreet et
/// </summary>
/// /// <remarks>A picture: <br />
/// <img src "C:\Users\me\Pictures\wave.jpg" />
/// </remarks>