Impossible to display captions in any views-based block or page with an image field

Created on 5 January 2024, 12 months ago
Updated 20 August 2024, 4 months ago

When I switched to version 5 there is no longer an option to define the image caption in views?

🐛 Bug report
Status

Postponed: needs info

Version

5.0

Component

Code

Created by

🇨🇦Canada jglynn

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

Comments & Activities

  • Issue created by @jglynn
  • Status changed to Closed: duplicate 12 months ago
  • 🇩🇪Germany Grevil

    Duplicate of 💬 Views Caption? How? Fixed . Please check the solution stated there. If that doesn't work please comment in that issue.

  • Hi,

    I'm a bit puzzled as to why this issue has been closed, with the assumption that it's a duplicate of #3409207: Views Caption? How?

    Unless I'm overlooking something glaringly obvious, it seems impossible to display captions in any views-based block or page with an image field. Perhaps it's just me, but overly summarized instructions don't provide much clarity either.

    Here's the process I've followed: I create a views block or page, add an image field (media: image), select Photoswipe as the formatter, and at that stage there's no option available for selecting a caption type. After saving and visiting the block or page, there are no captions visible at all. Yes, the caption sub-module is active, and the CSS class 'photoswipe-gallery' has been added, but still, no captions appear.

    In the 4.x version, when Photoswipe is selected as the image field formatter, there is an area available for selecting the caption type. I'm not entirely sure if the presence of this area is the determining factor, but regardless, there are no captions visible in the 5.x version when used in views.

    The proposed solution mentioned in #3409207: Views Caption? How? is rather cryptic, especially for someone who is trying to learn about Drupal and its modules. While I fully appreciate the effort that developers put into their work, I believe that more detailed explanations would be immensely helpful.

    In summary, should we expect to see captions in any views-based blocks or pages with image fields, or is this functionality omitted in the 5.x versions?

    P.S.: In classical (non-views based) content created based on content types, captions are visible.

    Cheers

  • Status changed to Postponed: needs info 4 months ago
  • 🇩🇪Germany Grevil

    Sorry, because of the vague issue summary, I came to the conclusion, that this was simply a duplicate of 💬 Views Caption? How? Fixed .

    Could you update the issue summary based on your comment and readding the original issue summary template?

    Do you still have the problem with the latest dev version? Can you add steps to reproduce in the issue summary?

Production build 0.71.5 2024