cropped rubikvariantimageslogocropped rubikvariantimageslogo
  • Pricing
  • Help Center
    • FAQ
    • Documentation
    • Video Tutorials
    • Contact Us
    • Questions & Answers
  • Partners
  • Affiliate
  • Blog
badge shopify app store light
Rubik Variant Images Guides

How to show the right image when a Shopify product has color and size

June 3, 2026
a product with color and size options where the gallery shows the correct image for the chosen color

Quick answer: If your Shopify product has color and size and the gallery shows every photo no matter what the shopper picks, that’s because Shopify only ties images to the first option. The fix is to assign each photo to the right color and size combination and filter the gallery so it shows just that combo. The app that does this is Rubik Variant Images.

So you’ve got a shirt. Red, blue, black. Small through XXL. The customer taps Blue, then taps Large, and the product gallery keeps showing the red shot, the size chart, the lifestyle photo, and that one detail crop of a sleeve. None of it changes. Sound familiar?

Picture a store with 60 t-shirt styles, eight colors each, and five sizes. That’s a lot of photos crammed onto one product page. We built Rubik Variant Images because that exact mess shows up in our support queue more than almost anything else. The shopper picks a combination, and the page should respond. On stock Shopify, it mostly doesn’t.

And here’s the part that trips people up: most stores don’t actually need a different photo per size. You need a different photo per color, and the size selection shouldn’t break that. We’ll get into why Shopify makes this harder than it should, then walk the fix step by step.

In this post

  • Why Shopify can’t do this on its own
  • Which image should show for color plus size?
  • The step-by-step fix
  • Is it variant images or combined listings you need?
  • Frequently asked questions
  • Related reading

Why Shopify can’t do this on its own

Shopify can only attach an image to a single variant value, and in practice it keys off the first option (usually color). When a product has both color and size, the native gallery has no rule for combining the two, so it just shows everything. There’s no setting to filter the rest out.

You can assign one featured image to a variant in the Shopify admin. That swaps the main hero shot when someone picks a color. But the thumbnail strip below it? Still shows all your photos. Red close-ups sitting next to blue close-ups while the customer is looking at blue. Why does Shopify default to showing the whole pile? It makes no sense for any catalog with more than two colors.

And then size makes it worse. Most themes treat size as a second option that has zero connection to images. So a customer who picks Blue and then Large can sometimes see the gallery reset, or stay stuck on whatever color the first variant was. We’ve watched this confuse shoppers enough that the question “is this the right color?” lands in support inboxes daily. That confusion costs you conversions, plain and simple.

Which image should show for color plus size?

For nearly every apparel store, the image should follow color, and size should never change which photos show. A blue medium and a blue XL look identical in a photo. So you group your images by color, assign them once, and let the customer change size freely without the gallery jumping around.

That’s the default behavior we recommend, and it’s how Rubik Variant Images works out of the box: filter the gallery by the option that actually has distinct visuals (color), and ignore the option that doesn’t (size). You assign the red set, the blue set, the black set. Done. The shopper toggling between Small and Large sees the same correct color photos the whole time.

But what if size DOES matter visually? Say a plus-size fit has its own model shots, or a size-specific packaging photo. Rubik Variant Images supports multi-option assignment, so you can assign media to a specific color AND size combination when you genuinely need it. Most stores never do. A few do. The point is you get to choose, instead of Shopify choosing for you.

The step-by-step fix

Here’s the short version: install Rubik Variant Images, assign your photos to each color (and size combo if you need it), and turn on gallery filtering. The app reads your assignments from a metafield and shows only the matching media when a shopper picks a combination. No external API calls, no theme code surgery.

  1. Install Rubik Variant Images from the App Store. The Free plan covers one product, so you can test on a real listing first.
  2. Open a product that has color and size. Upload all the photos to the product the normal way (the app reads from your existing Shopify gallery).
  3. Assign media to variants. You’ve got three ways: drag and drop manually, run AI auto-assign on the product (it reads the title, option values, option name, filename, alt text, and looks at the image itself), or use bulk assign across many products using gallery order.
  4. Set the gallery filter to follow color. If size never changes the look, leave size out of the filter so shoppers can switch sizes without the gallery moving.
  5. Add swatches if you want them. Image swatches, color swatches (circle, square, rounded, pill), or pill buttons. You can hide sold-out variants too.
  6. Preview and publish. Pick Blue, then Large, and watch the gallery show only the blue photos. That’s the whole job.

If you have hundreds of products, don’t assign them one at a time (please don’t). Bulk assign groups images by gallery order: the first image of each variant acts as a boundary, and following images inherit that variant until the next boundary. Set your gallery order once, run it, and the whole catalog gets sorted in the background. For a quick sanity check afterward, our guide on checking your variant image setup walks through what to look for.

How to show the right image when a Shopify product has color and size

One more thing worth knowing. Since the 2026 update, Rubik Variant Images also shows swatches on the product card itself, right there in the collection grid. A shopper can click a color swatch on the card, see the image swap, and add to cart without opening the product page. It’s off by default (you enable it under Swatch settings), and it covers the variants of that one product. Handy for color-heavy catalogs.

Is it variant images or combined listings you need?

Quick rule. If all your colors and sizes live inside ONE Shopify product, you need Rubik Variant Images to filter the gallery. If each color is a SEPARATE product (its own URL, its own page), you need Rubik Combined Listings to link them and show swatches across them. Plenty of stores run both.

Your setupWhat you needWhat it does
One product, color and size as optionsRubik Variant ImagesFilters the gallery so only the picked color’s photos show
Each color is a separate productRubik Combined ListingsLinks products, shows swatches on collection and product pages, keeps each URL
Separate color products, each with sizesBoth apps togetherGroup the colors, then filter images inside each one
Over 100 variants per productRubik Combined ListingsSplits into linked products to bypass the limit, no Shopify Plus needed

Why does this distinction matter so much? Because picking the wrong tool means you fight the platform instead of fixing the page. A store that crams 12 colors into one product hits Shopify’s 100-variant ceiling fast once you multiply by sizes. In that case, splitting into separate color products and grouping them with Combined Listings is the cleaner path, and you can still add variant image filtering inside each one. If you’re weighing the options, our roundup of the best Shopify variant image apps for 2026 lays out the field.

“We’ve tried several solutions for managing variant images, but Rubik Variant Images stands out. It’s like giving our product pages a much-needed declutter. Customers now see only the images that match their selection, which has noticeably reduced the ‘Is this the right color?’ support queries. The setup was intuitive, and the results were instant. It’s one of those behind-the-scenes tools that quietly makes a big difference. Love it!”

Livspace Home, India, 2025-07-10, Rubik Variant Images on the Shopify App Store

That “is this the right color?” query is exactly the one we set out to kill. When the gallery only shows what the shopper picked, the question disappears. Fewer support tickets, fewer wrong-color returns, more carts that actually convert.

Try Rubik Variant Images free
Try Rubik Combined Listings free

See it working on the live demo store, watch the tutorial video, or read the getting started guide.

Frequently asked questions

How do I show only the selected color’s images on a Shopify product with sizes?

Assign each photo to its color with Rubik Variant Images and turn on gallery filtering keyed to color. Size stays out of the filter, so shoppers can switch sizes freely while the gallery keeps showing the correct color. Here’s our full walkthrough on showing only selected variant images.

Why does my Shopify gallery show all images when a product has color and size?

Because Shopify can only attach an image to one option value and has no rule for combining color with size. So the gallery falls back to showing every photo. You need an app to filter it. If your swatches aren’t working either, that’s usually the same root cause.

Can I assign a different image to a specific color and size combination?

Yes. Rubik Variant Images supports multi-option assignment, so you can target a specific color AND size pair when the visuals genuinely differ. Most stores only assign by color, since a medium and an XL of the same color look the same in a photo.

Does the customer have to pick both color and size before the right image shows?

No. If you filter by color only, the correct photos appear the moment a shopper picks a color, and changing size after that doesn’t disturb the gallery. You decide which option drives the filter in the app settings.

How many images can I assign per variant in Shopify?

Shopify allows up to 250 images per product, and you can assign as many of those as you like to each color. Rubik Variant Images doesn’t cap it. See our breakdown of how many images per variant Shopify supports.

Will this work on my theme, like Dawn?

Yes. Rubik Variant Images works on 350+ themes including Dawn, and on page builders Beae, EComposer, Foxify, GemPages, Instant, PageFly, and Replo. Here’s the Dawn theme setup guide if that’s what you run.

What if each color is a separate product instead of one product?

Then use Rubik Combined Listings to link the separate products and show swatches across them. Each color keeps its own URL and images for SEO. Many stores run both apps: Combined Listings to group, Variant Images to filter inside each product.

Do I need Shopify Plus for this?

No. Neither app needs Shopify Plus. Rubik Variant Images filters the gallery on any plan, and Rubik Combined Listings bypasses the 100-variant-per-product limit without Plus by linking separate products.

Related reading

  • How to add color swatches to Shopify
  • Set up a Shopify color swatch variant picker
  • Show color swatches on Shopify collection pages
  • The best Shopify variant image app for 2026
  • Shopify collection page swatch display guide
Umid Aydemir

Co-Founder of Rubik Variant Images & Swatch

Post navigation

Previous
Next

Search

Categories

  • Affiliate Program (1)
  • App Comparison (8)
  • Integrations & Partnerships (15)
  • Rubik Combined Listings (10)
  • Rubik Variant Images Guides (121)
  • Rubik Variant Images Theme Compatibility (55)
  • Shopify Dropshipping (1)
  • Shopify News (3)
  • Shopify Tips & Tutorials (148)
badge shopify app store dark

Trending Posts

  • Shopify variant images FAQ with 30 questions
    Shopify variant images FAQ: 30 questions merchants actually ask
    March 29, 2026
  • List of All Shopify Theme Store IDs (Updated 2025)
    List of All Shopify Theme Store IDs (Updated 2025)
    September 16, 2025
  • How to Display Featured Image on Collection Pages but Hide Them on Product Pages
    How to Show a Featured Image on Collection Pages and Hide It on Product Pages
    September 12, 2025
  • How to Show Variants as Separate Products on Shopify Collection Pages stamp
    How to Show Variants as Separate Products on Shopify Collection Pages
    September 15, 2025
  • How to add color swatches to Shopify
    How to add color swatches to Shopify (no code)
    April 3, 2026
  • image 5
    How to Display Multiple Variant Images with Rubik Variant Images on Instant Page Builder ?
    April 9, 2025
  • Activate Variant Image Swatches in All New Shopify Free Themes Horizon Themes Without Code or App
    Activate Variant Image Swatches in All New Shopify Free Themes (Horizon Themes) – Without Code or App
    June 9, 2025
  • how to find theme store id shopify
    How to Find Your Theme’s Shopify Theme Store ID (2025 Guide)
    April 21, 2025
  • Rubik Variant Images
    Shopify Multiple Variant Images – How to Display Images Specific to the Selected Variant?
    March 3, 2025
  • Top 10 Shopify Product Variant Swatch Apps and Alternatives in 2025 rubik
    Top 10 Shopify Product Variant Swatch Apps and Alternatives in 2025
    May 20, 2025

Related Posts

print on demand shirt mockups in several colors, each variant card showing its matching mockup
Rubik Variant Images Guides

Printify and Printful variant images not matching on Shopify? The fix

June 3, 2026

Printify variant images on Shopify showing the wrong color? The fix is Rubik Variant Images, which filters the gallery so each variant shows only its own photos.

a shopify product page where selecting a blue swatch filters the gallery so only blue photos remain and other colors fade out
Rubik Variant Images Guides

Shopify shows all images for every variant? Here is how to show only the right ones

June 3, 2026

Shopify shows all images for every variant because the native gallery isn’t filtered. Here is how to show only the right images per variant with Rubik Variant Images.

a single color variant expanding into a small gallery of several photos of the same color
Rubik Variant Images Guides

Shopify only lets you add one image per variant? How to show multiple

June 3, 2026

Shopify only lets you pick one image per variant. Here is why, and how to show multiple images per variant on the product page with Rubik Variant Images.

a cluttered product gallery being tidied so only the selected color photos remain
Rubik Variant Images Guides

Shopify product page cluttered with every variant photo? Clean it up

June 3, 2026

Shopify product page too many variant photos? Here is why the gallery shows them all, and how Rubik Variant Images filters it down to one variant.

  • Documentation
  • Partners
  • Privacy Policy
  • Affiliate
cratshift logo beyaz

We are a Shopify Partner offering high-quality app solutions crafted for Shopify.

Our Apps
  • Smart Bulk Image Upload
  • Export Product Images
  • Bulk Delete Products
  • Rubik Variant Images
Quick Links
  • Pricing
  • Contact Us
  • FAQ
  • Blog
Blog Categories
  • Shopify Tips & Tutorials
  • Rubik Variant Images Guides
  • Integrations & Partnerships
  • Shopify News
cropped rubikvariantimageslogo

© 2025 Rubik Variant Images by Craftshift®

All rights reserved.