Images

Automatic screenshot generation

See the README in the t3docs-screenshots for more information on automating screenshot generation.

How to use images

Use the .. image:: directive with additional parameters.

Use .. figure:: if you want to add a caption to your image. You can use the same parameters in figure that are defined for image.

The additional parameters must be indented one level (add 4 spaces to indent).

Recommended parameters for images:

  • :class: with-shadow

Alternatively, a border can be defined:

  • :class: with-border

Optional parameters for images:

  • :alt: : alt text
  • :target: link target
  • :width: : width of image, use for example px (for example :width: 100px
  • :scale: : scale images, for example :scale: 65

Additional parameters can be found on the docutils page reStructuredText Directives

Examples

Example 2: Image with caption

Left floating image

This is the image caption

..  figure:: /Images/a4.jpg
    :alt: some image
    :target: https://typo3.org
    :class: with-shadow
    :width: 100px

    This is the image caption
Copied!
line 5:
width of image

Example 3: Image with fixed width

Left floating image
..  image:: /Images/a4.jpg
    :alt: some image
    :target: https://typo3.org
    :class: with-shadow
    :width: 100px
Copied!
line 5:
width of image

Example 4: Image with float-left

Left floating image

Some text ... (will be displayed on the right of the image).

..  image:: /Images/a4.jpg
    :alt: Left floating image
    :target: https://typo3.org
    :class: with-shadow float-left

Some text ...  (will be displayed on the right of the image)

..  rst-class::  clear-both
Copied!

Example 5: Image with border