visual-studiodocumentationchmhtml-help-workshop

Pictures not showing in CHM help file


I am updating the help documentation for our software, but when I compile on my machine using HTML Help Workshop, none of the pictures show. The pictures show just fine in Visual Studio, but when I compile the help file it shows as either an "Image Missing" icon (a Polaroid photo with a cross in it) or just the file name.

Here is an example page showing my problem

If anyone could point me in the right direction that'd be much appreciated.


Solution

  • I managed to fix my problem, thank you very much for your help.

    In the folder that holds the images for each page, for example index_files, I noticed there was a file named "filelist.xml".

    The contents of this file look something like this:

    <xml xmlns:o="urn:schemas-microsoft-com:office:office">
    <o:MainFile HRef="../index.htm"/>
    <o:File HRef="themedata.thmx"/>
    <o:File HRef="colorschememapping.xml"/>
    <o:File HRef="image001.png"/>
    </xml>
    

    By adding extra references for image002, 003 and so on, it fixed the whole CHM.