logo

Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

One nuance in setting up a photo gallery with views + colorbox.

22/02/2025, by Anonymous (not verified)
Forums

Hello everyone. It seems like a trivial task, but I have encountered a problem.
I need a photo gallery of this kind - an image with a caption above it, displaying 12 items per page, with navigation using a paginator (standard views stuff). The image opens in Colorbox on click, and you can scroll through the other photos there as well. To be able to display the gallery with a title, I am outputting fields in views, with each photo created as a separate node. The issue lies in the Colorbox gallery settings - if I set it to "One gallery per page," it only recognizes the images on that single page since the views are paginated by the number of items. So the question is - how can I configure Colorbox to recognize the gallery within a single view? Or perhaps by taxonomy term, for example, creating a gallery based on that, or some other way?