You can edit the project file (*.hhp
) of HTML Help Workshop to embed any file you want to the CHM. It can be an image file, video file (SWF), PDF file, any file you want (of course the way to embed it into your HTML file change depending of the file type you're embeding).
E.g. If you have the following structure at your project:
.
└── Root/
├── index.html
└── Settings-1.png
You can embed your image by using <img src="Settings-1.png" />
into your "index.html" file (it doesn't need to be this file, can be into any HTML file of your project).
The HTML Help Workshop is smart enough to detect that the "Settings-1.png" is embeded at one of yours HTML file and will add it automatically to your project.
If for some reason the HTML Help Workshop didn't embed this file as part of your CHM file (you can confirm this by opening the CHM file using 7-Zip), e.g. the image is referenced into a CSS file only (e.g. a background image set using CSS, so HTML Help Workshop can't detect that this image file is part of your HTML content), then edit the project file (*.hhp
) of your project (it's basically a INI file with a custom extension) and add the relative path to your file at the [FILES]
section of the project file:
[FILES]
index.html
Settings-1.png
Compile your file again and VOI LA! Your image file (or whatever file you want) will be embeded into your CHM file. You can confirm it by using 7-Zip.