- Issue created by @jatinkumar1989
- π¨π¦Canada jatinkumar1989 Toronto
field is not render , need to remove filter
- π©πͺGermany Anybody Porta Westfalica
Please provide a proper description by filling the issue template:
- π¨πΏCzech Republic jaroslav ΔervenΓ½
When you create a view with fields - image fields, there is no option to select a caption.
This option is supported in version 4.
- π©π°Denmark ressa Copenhagen
I can confirm this: The "Photoswipe image caption" option is present on the regular Display page of fields (
/admin/structure/types/manage/library/display
), but it's missing for the same field in a View.Please let me know if you need more info @anybody.
- Issue was unassigned.
- Status changed to Active
about 1 month ago 10:48am 8 July 2025 - π©π°Denmark ressa Copenhagen
Just setting version to dev, in case a fresh branch needs to be created for an MR at some point :)
- π©π°Denmark ressa Copenhagen
Good news, everyone! In β¨ [5.x] Make Photoswipe work with any ContentEntity entity type Active @vladdancer shared the cause of the problem, which is in Drupal core π Formatter third party settings missing from Views UI Needs work . After patching Drupal core (Views UI) with the MR from the issue, the PhotoSwipe Caption is available in Views.
Since it's not a PhotoSwipe bug, but we need to heed it, let's turn this issue into a documentation task, adding tips where relevant, like project page, README and documentation pages.
- @ressa opened merge request.
- π©π°Denmark ressa Copenhagen
I added a tip in the documentation β , and created an MR for the README update, please review.
Administrators: Perhaps you can update the project page, adding something like this? Thanks!
In PhotoSwipe 5 the "Photoswipe image caption" option is present on the regular Display page of image fields (on
/admin/structure/types/manage/library/display
), but missing for the same image field in a View. The solution is Drupal core issue π Formatter third party settings missing from Views UI Needs work , and you can patch Drupal core β until it gets fixed.