ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
    • ScyllaDB Open Source
    • ScyllaDB Enterprise
    • ScyllaDB Alternator
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
Download
ScyllaDB Docs ScyllaDB Sphinx Theme Examples Images

Images¶

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

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

renders the image

checkmark

Whereas 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.

Was this page helpful?

PREVIOUS
Icons
NEXT
Includes
ScyllaDB Sphinx Theme
  • Getting started
    • Toolchain
    • Installation
    • Quickstart
  • Configuration
    • Template options
    • Page options
    • Multiversion options
    • Markdown support
    • Redirects support
    • Search support
  • Commands
  • Deployment
    • Production deployment
    • Pull requests previews
  • Examples
    • Admonitions
    • Collapse
    • Code blocks
    • Glossary
    • Headings
    • Hero box
    • Icons
    • Images
    • Includes
    • Labels
    • Links
    • Lists
    • Mascots
    • Panel box
    • Substitutions
    • Tables
    • Tabs
    • Text
    • TOC
    • Tooltips
    • Topic box
    • Versions
  • Upgrade guides
    • 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
  • Create an issue
  • Edit this page

On this page

  • Images
    • Resize images
Docs University Contact Us About Us
© 2024, ScyllaDB. All rights reserved.
Last updated on 08 Oct 2024.
Powered by Sphinx 7.4.7 & ScyllaDB Theme 1.8.1