RML Images

From FreeSpace Wiki
Jump to: navigation, search
Librocket RML references
Elements
Documents
Images
Style Sheets
Forms
Controls
Data Display
Templates
Events

Librocket within FSO support two types of image tags.

<img>

The <img> element is used to include images in the document.

<ani>

The <ani> element is used for animated images and can load APNG, EFF, or ANI files

Attributes

These attributes apply to both types of images.

src

The filename of the img or ani

width

The width to force the element to, in pixels. If this is unspecified, it will default to the width of the image.

height

The height to force the element to, in pixels. If this is unspecified, it will default to the height of the image.