Add a setting to display Media-Image Descriptions

Created on 11 August 2022, over 2 years ago
Updated 8 March 2024, 10 months ago

Problem/Motivation

While media images have a caption/description field, we don't print them out, rendered by pargraph-image oder paragraph-gallery.
We clearly wont show the description all the time, if the field is not empty, we need to control this in the paragraphs.

Proposed resolution

I think we should keep it simple for now and just add a boolean field "Show Image Caption" (default false).

Remaining tasks

  1. Add the "Show Image Caption" (technical: show_caption) field to the bundles image & gallery (we might add it for others (image_text, video, ...) in the future, but those two are really relevant)
  2. Print out the field in the Twig templates
  3. (add some styling)
Feature request
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024