Skip to content

Caption on "fotorama_directive" #95

@humitos

Description

@humitos

How do you think I should implement "Captions" (http://fotorama.io/customize/captions/) in the fotorama_directive (#94)?

I mean, how the user should write the caption to associate with the images?

I was thinking on something like this:

.. fotorama::

  image0.jpg
  Caption for image0.jpg
  image1.jpg
  Caption for image1.jpg
  image2.jpg
  image3.jpg

But the thing is: how I can distinguish if the line is a caption or is a path? I can check if the filepath exists but maybe is a typo instead of a caption :)

Well, that's why I'm asking you guys.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions