Skip to content

Pictures

Pictures can be displayed with the picture element. The path to the image file is specified with the filepath attribute. Supported file formats are JPG, PNG and SVG.

Most pictures in a course are usually figures and should therefore be enclosed in the block element for figures. Pictures outside of figures should only be used for pictures that should appear directly inside a line of text.

Every picture must contain a minimum amount of metadata. That is, one must specify the license of the picture.

Example

<p>
    The warning sign can be recognized by <picture filepath="media/warning-sign.png">
        <metadata>
            <license>Public Domain</license>
        </metadata>
    </picture>. It indicates danger.
</p>