Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

23 Including graphics in HTML > 23.4 Specifying options for HTML graphics > 23.4.1 Using referenced graphics without converting


23.4.1 Using referenced graphics without converting

If some referenced graphics are already in a format appropriate for Web use, such as JPEG, GIF, or PNG (see §31.1.4 Graphics formats for HTML); and if they are alone in their anchored frames (no callouts or in-frame titles, for example); you do not have to convert them. Either check Use original graphic names in the Mif2Go Export dialog, or set the following option in the configuration file:

[Graphics]

UseOriginalGraphicNames=Yes

For details, see §31.3.1.4 Using original files and image sizes for referenced graphics.

The naming is preserved like any other in the <img src=.../> tags.

Copy the graphics files into the project directory with the generated .htm files, or allow Mif2Go to copy them for you to the wrap directory; see §23.3 Locating graphics files for HTML. Unless you explicitly remap a name in the [GraphFiles] section (see §23.4.2 Specifying formats of replacement graphics), or specify a GraphSuffix in the [Graphics] section, the graphic name is always passed through unchanged.

If the original graphics are not in the same directory as the FrameMaker files that reference them, but they will be in the same directory as the generated HTML files, set the following option also (see §23.3 Locating graphics files for HTML):

[Graphics]

StripGraphPath=Yes

If you have supplied replacements for referenced graphics that are in a different format, and if the replacements have the same base names as the originals, you can specify just the new file extension (see §31.3.1.2 Substituting graphics files for HTML):

[Graphics]

GraphSuffix=jpg

Use this setting when you convert referenced graphics with a third-party program; see §5.7 Processing graphics.

A problem arises if you add any FrameMaker elements, such as arrows or callouts, to a referenced graphic. You can direct Mif2Go to use the FrameMaker export filters to convert the whole graphic to JPEG or GIF; see §5.7.2.2 Using FrameMaker graphic export filters. Or you can reproduce the elements in the external graphic with a third-party program.



23 Including graphics in HTML > 23.4 Specifying options for HTML graphics > 23.4.1 Using referenced graphics without converting