Fluorescent
Eclipse
Eclipse
  • Get started
    • Migrating to Eclipse
    • Theme license
  • FAQs
  • Changelog
    • Update your theme
  • General
    • Editing themes
      • Dynamic content with metafields
      • Edit default theme content
      • Multiple languages
      • Unique content for markets
      • Customizing your site
      • H1 heading tags
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • SEO for Shopify
    • Online store speed
    • Accessibility
  • Theme settings
    • Theme settings
      • Social media
    • Theme styles
    • Fonts
    • Colors
  • Corner rounding
  • Pages
    • Page templates
      • Using templates
      • Customize page styles
      • Create and assign templates
    • Demo layouts
    • About page
    • Home page
    • Blog page
    • Blog post
    • Contact page
    • Password page
    • Search page
  • Sections
    • Sections
      • Using sections
      • Content blocks
    • Blog posts
    • Collapsible content
    • Collection list
    • Contact form
    • Featured collection
    • Featured links
    • Feature product
    • Grid
    • Icon with text columns
    • Image hero
    • Image with text
    • Multi-column
    • Newsletter
    • Rich text
    • Scrolling content
    • Shop the look
    • Shoppable feed
    • Slideshow
    • Video
    • Video hero
    • Video with text
    • Custom Liquid
  • Header
    • Announcement bar
    • Header
      • Layout and style
      • Logo
      • Transparent header
      • Mega menu
      • Language and Currency
    • Impact logo
    • Search
  • Footer
    • Footer
      • Image Text and Socials
      • Links block
      • Newsletter and Socials
      • Language and Currency
      • Custom Liquid
  • Products
    • Product listings
      • Product card styles
      • Sale and sold out badges
      • Quick shopping
    • Prices and currencies
    • Swatches
      • Use default colors
      • Use custom colors
      • Use custom images
  • Product pages
    • Product page
      • Gift card product
    • Media gallery
      • Media grouping
    • Product overview blocks
      • Description
      • Price
      • Buy buttons
      • Collapsible row
      • Complementary products
      • Custom option
      • Featured icon with text
      • Icon with text
      • Inventory status
      • Image block
      • Popup block
      • Product rating
      • Text block
      • Share icons
      • Custom Liquid
    • Variant selector
      • Info popup
    • Sticky add-to-cart
    • Sibling products
    • Product recommendations
  • Collections
    • Collection page
      • Banner
      • Product grid
      • Promotion tiles
      • Filters and sorting
    • Collection list page
  • Cart
    • Cart
    • Free shipping bar
    • Cross sells
  • Popups
    • Popups
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • Advanced
    • Custom CSS
    • Custom fonts
Powered by GitBook
On this page
  • Set up media groups
  • Enable media grouping

Was this helpful?

  1. Product pages
  2. Media gallery

Media grouping

Last updated 3 months ago

Was this helpful?

With media grouping, your product pages will show only the relevant media for the selected variant and hide the rest.

If you want to show different product details as well as images, you may want to use , which links variants to their own product pages.

Set up media groups


To create media groups for variants, first re-order the product media for each of variant in sequence, so that they are grouped together and follow the same order as your product options. Then assign the first image of each group to the related variant.

When selected, variants will display the assigned image and all following images up until the next variant's assigned image.

In your Shopify admin, go to Products to open the product you want to edit:

1

Re-order product media in the same order as variants

Using the drag-and-drop handles ⋮⋮, re-order your product media to group together items for each variant. The order of the groups should match the order of the variants.

All media for the first variant should be in the top positions, followed by all media for the second variant, followed by all media for the third variant, etc.

2

Assign the first image of each group to variants

In the Variants section, click the Add image button next to each variant. Select the first image of the group related to that variant.

If no image is assigned, the media gallery will not update and will continue to show images of the previously selected variant.

If your product has multiple options, assign the first image to each variant of that option.

For example, if your product has both color and size options, assign the first group image to variants with the same color.

Enable media grouping


After you've set up media groups for your variant images, you can enable media grouping in the Product overview settings of your product template.

In your theme editor (Customize):

  1. Open the product template.

  2. Click the Product overview section.

  3. Toggle on Enable media grouping option.

  4. Click Save.

Sibling product swatches
Images ordered for the color variants 'Purple', 'Green,' and 'Yellow'.
Assign the first group image to the related variant.
For multiple product options, assign the first group image to each related variant.