20.3.6.3 Locating graphics files for JavaHelp and Oracle Help

To view images in a generated JavaHelp system, if you are using a typical directory structure, image files must be in a subdirectory of the helpset directory such as help\graphics, and HTML files that reference the images must be in a parallel subdirectory, such as help\html. (See §20.3.6.1 Understanding the JavaHelp / Oracle Help directory structure).

When you have finished generating a JavaHelp or Oracle Help system, both of the following must be true:

For example, to specify a relative path from directory help (where the helpset is located) to subdirectory help\graphics (where graphics are located):

[Graphics]
GraphPath = ../graphics/  

For JavaHelp and Oracle Help (only), the directory designated by GraphSubdir (see §20.3.6.2 Letting DITA2Go set up the directory structure and copy files) is the default setting for [Graphics]GraphPath, with “../” prepended. 

Note:  For JavaHelp and Oracle Help, forward slashes are required in path names you assign to keywords in the configuration file; see §3.3 Understanding the rules for configuration settings.

DITA2Go uses the value of GraphPath for the src attribute of <img> tags. See §40.2.1.1 Specifying graphics location for HTML.

To specify the location of images assigned to specific JavaHelp 2 windows, see §20.8.1.1 Assigning default window parameters for JavaHelp 2.

Previous Topic:  20.3.6.2 Letting DITA2Go set up the directory structure and copy files

Next Topic:  20.3.6.4 Specifying a path for search-index links

Parent Topic:  20.3.6 Creating a directory structure for JavaHelp / Oracle Help

Sibling Topics:

20.3.6.1 Understanding the JavaHelp / Oracle Help directory structure

20.3.6.2 Letting DITA2Go set up the directory structure and copy files

20.3.6.4 Specifying a path for search-index links

20.3.6.5 Manually copying and deleting output files