When you add graphics to a project Help & Manual inserts a reference to the graphic file that only contains the name of the file. It finds the graphics by looking in the Project Search Path, which is defined in the Configuration section of your project. The folders listed in the path are searched in order and the first file with a matching name is used.
This strategy makes it very easy to organize and move your graphics files – you just need to change the settings in the Project Search Path to let Help & Manual know where to look for the graphics.
It is generally advisable to store your image folders together with your project folder.
If you use multiple graphics folders it is very important to avoid duplicate filenames in different image folders! If you have duplicates Help & Manual will only find the first version of the graphics file with a matching name. |
Help & Manual locates graphics on the disk by searching in the directories listed in the Project Search Path. You do not normally need to add image folders to the path manually. The program does this for you when you insert images from a new folder.
|
You are free to move your image files and image folders whenever you like. Since only the image file names are stored in your project you just need to change the references in the Project Search Path to tell Help & Manual where to look for the files.
Splitting and consolidating image folders: You can also reorganize your image files in any way you like – for example move all your image files to a single folder or to multiple folders in any locations. You just need to tell Help & Manual where to look for the images in the Image Search Path settings. |
The references in the Project Search Path are actually relative, even though the full paths of all the folders are shown for your information. This means that moving your project is very easy.
|
It's always important to avoid duplicate filenames for your graphics. This applies in particular for modular projects, because you will often have separate graphics folders for each project. Duplicate names across project modules are OK in HTML Help and Winhelp projects with runtime merging because then each module is compiled individually and the correct graphics will be used. However, you need to avoid duplicates in all other formats and in modular projects with publish-time merging in HTML Help and Winhelp as well. Use filename prefixes for graphics files in modules The simplest solution for this problem is to add a unique prefix to the filenames of graphics files used in modules, in the same way that you use prefixes for the topic IDs in modules. The prefix should be short – two letters and an underline character are usually plenty – and should identify the module. |
See also:
Importing graphics from RTF files
Page url: http://www.helpandmanual.com/help/index.html?hm_working_graphics_managing.htm