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

> 23 Including graphics in HTML > 23.7 Specifying HTML image attributes

## 23.7 Specifying HTML image attributes

You can specify attributes for the <img> tag in any of the following ways:

Configuration-file settings

Custom markers in FrameMaker

FrameMaker object attributes.

Configuration-file settings

To specify <img> tag attributes in the configuration file (for example):

[GraphAttr]

; Graphic file name (with or without extension) = desired attributes

ch01f853.gif= usemap="#schematic" border="0"

To eliminate anchored-frame borders from all graphics:

[GraphAttr]

*= border="0"

Custom marker s in FrameMaker

You can define a custom marker that has a name beginning with Graph and ending with the name of a valid <img> tag attribute (see §29.2.4 Using attribute markers for HTML or XML). The content of the marker becomes the value of the attribute for the next image in your document. The marker overrides any configuration-file setting for the same attribute for that image. See §33.2 Overriding settings with markers or macros.

FrameMaker object attributes

For images in anchored frames, in FrameMaker 7.0 and later versions you can assign attributes via the Object Attributes dialog, shown in Figure 31-1. Select an anchored frame and choose Object Properties... from the right-click context menu or the FrameMaker Graphics menu. In the Object Properties dialog, click Object Attributes... to open the Object Attributes dialog. See §31.4.2 Overriding graphics settings with FrameMaker object attributes.

See also:

§23.9 Scaling images for HTML

§25.2 Applying WAI markup to images

§29.2.4 Using attribute markers for HTML or XML

> 23 Including graphics in HTML > 23.7 Specifying HTML image attributes

| Mif2Go User's Guide: 23.6.5 Eliminating space above or below graphics in table cells |  | Mif2Go User's Guide: 23.8 Providing (or omitting) alternate text for images |