Add option for Gallery & Image to display caption for thumbnail or allow media display mode selection

Created on 9 September 2022, about 2 years ago
Updated 7 May 2024, 6 months ago

Problem/Motivation

For Galleries and Images it would be nice to have the option to already output the media caption at the thumbnail. I guess we need a list of settings for this, for example

  1. Hide caption
  2. Caption below the image
  3. Caption below the image, as overlay
  4. Caption above the image
  5. Caption above the image, as overlay
  6. ...?

Perhaps a more flexible approach, for example to configure what should be displayed as caption, would be to allow selecting the Image / Gallery view mode, so that you could select

  • Default
  • Card
  • Media Object
  • ...

and solve it there.

I think that would be more flexible and more the "Drupal-way"

As a result things like this for single images and galleries (and more) would be nice (Wordpress example):

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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.

  • 🇩🇪Germany Anybody Porta Westfalica

    @thomas.frobieter I guess this is still relevant for existing projects, so we should copy and reference this issue at drowl_paragraphs_bs? Or should we simply move it over as we will remember for old installations, if someone pays the feature?

  • MHM, seems to be a UI Styles job in 4.x. I would not fix this in 3.x. This was never an important topic on existing projects, and it's easy to solve using our Paragraphs Styles UI if required.

    So I move this to BS.

  • 🇩🇪Germany Anybody Porta Westfalica
Production build 0.71.5 2024