ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Deployments
    • Cloud
    • Server
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
    • Supported Driver Versions
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Install
Search Ask AI
ScyllaDB Docs ScyllaDB Sphinx Theme Examples Images
For AI agents: a documentation index is available at https://sphinx-theme.scylladb.com/master/llms.txt. A Markdown version of this page is at https://sphinx-theme.scylladb.com/master/examples/images.md.

Caution

You're viewing documentation for an unstable version of ScyllaDB Sphinx Theme. Switch to the latest stable version.

Images¶

There are two possible directives for images: the image directive and the figure directive. Refer to DocUtils for more options.

Image directive¶

.. image:: images/checkmark.png
    :alt: checkmark

Renders the image:

checkmark

Figure directive¶

The figure directive allows you to use captions.

.. figure:: images/checkmark.png
   :alt: checkmark

   This is the caption for the image

Renders the image as:

checkmark

This is the caption for the image¶

Resize images¶

You can resize images (and figures) with the option width. When a reader clicks on an image with this option set, the image opens in a popup in full size. This is handy when images are too small to be read from the documentation page.

For example:

.. figure:: images/diagram.svg
   :width: 150px

.. image:: images/checkmark.png
   :width: 150px

Renders the image as:

../_images/diagram.svg
../_images/checkmark.png

Click on the image to preview it in full size.

Diagrams with metadata¶

Use the diagram directive to wrap a figure or image with metadata so external tools can filter and extract diagrams. The :id: option becomes the wrapper’s HTML id attribute. The remaining options are exposed as data-* attributes on the wrapping <div class="diagram">.

.. diagram::
   :id: auth-flow
   :tags: networking, security
   :categories: security
   :deployment: core
   :last-reviewed: 2026-06-01

   .. figure:: images/diagram.svg
      :alt: Authentication flow

      Authentication flow diagram.

Renders as:

Authentication flow

Authentication flow diagram.¶

Was this page helpful?

PREVIOUS
Icons
NEXT
Includes
  • Create an issue
  • Edit this page

On this page

  • Images
    • Image directive
    • Figure directive
    • Resize images
    • Diagrams with metadata
ScyllaDB Sphinx Theme
Search Ask AI
  • master
    • 1.9
    • 1.8
    • 1.7
    • 1.6
    • 1.5
    • 1.4
    • 1.3
    • 1.2
    • 1.1
  • Getting started
    • Toolchain
    • Installation
    • Quickstart
    • Projects using this theme
  • Configuration
    • Template options
    • Page options
    • Multiversion options
    • Markdown support
    • Redirects support
    • AI chatbot support
    • AI visibility
    • Search support
    • Dependabot support
  • Commands
  • Deployment
    • Production deployment
    • Pull requests previews
    • Centralized publication
  • Examples
    • Admonitions
    • Alert
    • API Documentation
      • Python
      • Doxygen
      • REST API (Redocly)
    • Collapse
    • Code blocks
    • Diagrams
    • Grid
    • Glossary
    • Headings
    • Hero box
    • Icons
    • Images
    • Includes
    • Labels
    • Links
    • Lists
    • Mascots
    • Panel box
    • Substitutions
    • Tables
    • Tabs
    • Text
    • TOC
    • Tooltips
    • Topic box
    • Versions
    • Videos
  • Upgrade guides
    • Upgrading from 1.8 to 1.9
    • Upgrading from 1.7 to 1.8
    • Upgrading from 1.6 to 1.7
    • Upgrading from 1.5 to 1.6
    • Upgrading from 1.4 to 1.5
    • Upgrading from 1.3 to 1.4
    • Upgrading from 1.2 to 1.3
    • Upgrading from 1.1 to 1.2
    • Upgrading from 1.0 to 1.1
    • Upgrading from 0.x to 1.0
    • Changelog
  • Contribute
    • Contribute to the documentation
    • Contribute to the theme
    • Source Code
Docs Tutorials University Contact Us About Us
© 2026 ScyllaDB | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 19 Jun 2026.
Powered by Sphinx 9.1.0 & ScyllaDB Theme 1.9.2