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

GLightbox is a pure javascript lightbox (Colorbox alternative without jQuery)❗

It can display images, iframes, inline content and videos with optional autoplay for YouTube, Vimeo and even self-hosted videos.

Demo GLightbox Download GLightbox

Scroll

Displaying photos of all product variations on the page

28/07/2025, by Ivan

Good day.

A clothing store on Drupal 7. There is a Product Display page linked to several Commerce products, each product has several photos and a color attribute.

Please advise how to display photos of all products linked to the product display node as a gallery (a large photo and several small ones), so that when selecting a color, the photo changes.

For example, the product display is a T-shirt, linked products: red T-shirt (1 photo), blue T-shirt (1 photo). On the node page, both photos should be displayed, and when selecting the color attribute, the photo of the product with the selected color should become the main one.

There are many similar questions, but no answer anywhere. Is it even possible to implement this in Commerce?