Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

31 Working with graphics > 31.3 Replacing and relocating graphics files > 31.3.1 Changing graphics files for HTML output > 31.3.1.1 Specifying graphics location for HTML


31.3.1.1 Specifying graphics location for HTML

Graphics files for HTML usually should be in the same directory as the HTML files, or in a related directory. Their location relative to the HTML files might not be the same as their location relative to FrameMaker files. Therefore, you must specify where they will be when your HTML output is deployed on a Web server, in a Help system, or on a production system different from your conversion system.

Note:  Some HTML output types restrict placement of graphics; see §23.3 Locating graphics files for HTML.

Graphics in directory with HTML files

To remove any path information from graphics file names, so that a browser or Help viewer will look for graphics in the same directory as the HTML files that reference those graphics:

[Graphics]

; StripGraphPath = No (default)

;  or Yes (remove path from graphics references)

StripGraphPath = Yes

Graphics in a different directory

To specify where a browser or Help viewer should look for graphics:

[Graphics]

; GraphPath = path to use (replacing any previous) for all graphics

GraphPath = relative/path/to/graphics/files

The location specified by GraphPath is relative to the wrap directory.

Move graphics to the referenced directory

To move graphics to the specified directory, do one of the following:

Have Mif2Go copy the graphics during conversion; see §35.7.1 Copying referenced graphics to a distribution directory.

Use a system command to copy the graphics; see §34.4 Executing operating-system commands.

Copy the graphics yourself, outside of the conversion process.

See also:

§35.7.4 Synchronizing graphics settings for HTML output

§23.3 Locating graphics files for HTML

§9.3.10 Locating graphics files for HTML Help

§10.3.9 Getting OmniHelp supporting files in the right place

§11.3.7.3 Locating graphics files for JavaHelp and Oracle Help



31 Working with graphics > 31.3 Replacing and relocating graphics files > 31.3.1 Changing graphics files for HTML output > 31.3.1.1 Specifying graphics location for HTML