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

Gallery in VIEWS in block format

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

Hello!
I have a task to display a "photo" on the page, and below (in a VIEWS block) to show all photos, but in batches of 4. Everything would be fine, but by default, the photos in the block are displayed in batches like: 1-4, 5-8, 9-12, etc., meaning that the first batch shows photos 1-4. I would like the batch in the photo block to depend on the current "node," i.e., the photo being displayed, so that it shows the batch containing the current one. For example, if we have photo #7, then the batch 5-8 should be displayed.
How can I implement something like this?

I am more than sure that the solution is somewhere nearby!!! Thank you.