Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 9 Generating Microsoft HTML Help > 9.3 Setting up an HTML Help project > 9.3.10 Locating graphics files for HTML Help

### 9.3.10 Locating graphics files for HTML Help

A .chm file can include only files that are located in the same directory as the .hhp file, or in a subdirectory of that directory. If your graphics files are located elsewhere, they must be copied to the .hhp directory or subdirectory. Mif2Go can do this for you.

To tell Mif2Go to fetch your referenced graphics:

[Automation]

WrapAndShip = Yes

CopyOriginalGraphics = Yes

When CopyOriginalGraphics=Yes, Mif2Go follows the file paths in your FrameMaker source to find the graphics files to copy.

To tell Mif2Go where to put copies of the graphics (for example):

[Graphics]

GraphPath = ./graphics

The path you specify for GraphPath should be relative to the wrap directory (see §35.3 Understanding path values for deliverables). This path will be used in HTML output, as the relative path from the HTML files to their referenced graphics. If you use backslashes in the path, Mif2Go converts them to forward slashes before inserting the references in your HTML output. If you specify CopyOriginalGraphics=Yes, Mif2Go copies graphics files to the directory specified by GraphPath, after generating HTML files.

See also:

§9.14 Compiling and testing HTML Help

§23.3 Locating graphics files for HTML

§35.7 Placing graphics files for distribution