Build modifier classes from editor options. Aspect ratio: b-image-gallery--ar-{value} (--ar-auto has no CSS rule → natural dimensions) Hover effect: b-image-gallery--hover-{value} Caption mode: b-image-gallery--caption-{value}
{data.subheader}
Media wrapper — conditionally wrapped in lightbox anchor. The
contains only the image so the caption stays outside the interactive area and is accessible independently.
Caption — only rendered when show_caption != 'none'. Positioning (below vs. overlay) is handled purely in CSS via .b-image-gallery--caption-always / --caption-hover.
© {imageCopyright}
{image.description}