10.2.7.4 Locating graphics files for JavaHelp and Oracle Help
To view images in a generated JavaHelp system, if you are using a typical folder structure, image files must be in a subfolder of the helpset folder such as help\graphics, and HTML files that reference the images must be in a parallel subfolder, such as help\html. (See §10.2.7.1 Understanding the JavaHelp / Oracle Help folder structure).
When you have finished generating a JavaHelp or Oracle Help system, both of the following must be true:
• all graphics referenced from HTML topic files are in one subfolder of the helpset folder; see §10.2.7.2 Letting Mif2Go set up the folder structure and copy files
• all references to graphics specify a relative path from the helpset folder to the graphics subfolder.
For example, to specify a relative path from folder help (where the helpset is located) to subfolder help\graphics (where graphics are located):
For JavaHelp and Oracle Help (only), the folder designated by GraphSubdir (see §10.2.7.2 Letting Mif2Go set up the folder structure and copy files) is the default setting for [Graphics]GraphPath, with "../" prepended.
For JavaHelp and Oracle Help, forward slashes are required in path names you assign to keywords in the configuration file; see §4.1.4 Understanding the rules for configuration settings. |
Mif2Go uses the value of GraphPath for the src attribute of <img> tags. See §29.3.1.1 Specifying graphics location for HTML.
To specify the location of images assigned to specific JavaHelp 2 windows, see §10.7.1.1 Assigning default window parameters for JavaHelp 2.
> 10 Generating JavaHelp or Oracle Help > 10.2 Setting up a JavaHelp or Oracle Help project > 10.2.7 Creating a folder structure for JavaHelp / Oracle Help > 10.2.7.4 Locating graphics files for JavaHelp and Oracle Help
