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

<< Prev | Next >>

> 23 Including graphics in HTML > 23.9 Scaling images for HTML > 23.9.1 Excluding image size attributes from HTML

### 23.9.1 Excluding image size attributes from HTML

By default, Mif2Go includes image width and height attributes in HTML, XHTML, DITA XML, and DocBook XML output, and excludes these attributes from generic XML output.

To exclude image width and height attributes from HTML output:

[Graphics]

; GraphScale = Yes (default) to put out width and height attributes,

; or No to eliminate them all (mainly for Generic XML)

GraphScale = No

If you do not include any setting at all for GraphScale, you get the default for the output type you specify.

Note: You get faster display in browsers if you keep the image width and height attributes, because a browser can proceed with page layout without waiting for the graphic file to arrive.

See also:

§14.4.3 Eliminating HTML attributes and tags for generic XML

§15.7.3 Omitting size attributes from images for DITA output

§17.7.3 Omitting size attributes from images for DocBook