Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Smart Variations Images

This is a WooCommerce extension plugin, that allows the user to add any number of images to the product images gallery and be used as variable product

By default WooCommerce will only swap the main variation image when you select a product variation, not the gallery images below it.

This extension allows visitors to your online store to be able to swap different gallery images when they select a product variation. Adding this feature will let visitors see different images of a product variation all in the same color and style.

This extension will allow the use of multiple images per variation, and simplifies it! How? Instead of upload one image per variation, upload all the variation images to the product gallery and for each image choose the corresponding slug of the variation on the dropdown. As quick and simple as that!

WooCommerce 2.7 Ready


  • Multiple Images for Variation
  • Magnifier Lens
  • Ligthbox
  • Main Image/thumbnails swap on choose variation
  • Custom Thumbnail Columns
  • Hidden Thumbnails
  • WPML Compatible
  • Responsive

Read the FAQ and Screenshots before posting in support!

Check out a demo at:

Please give your review! Good or bad all is welcomed!

PRO Version

  • Main Image/thumbnails swap on choose variation
  • Multiple Images for Variation
  • Multiple Images Upload for Variation (Bulk)
  • Allow same image to be shared across different products with diferent variations
  • Show Variation as Cart Image
  • Ligthbox
  • Advanced Slider (Navigation Arrows & Color + Thumbnail Positions) - Fully Responsive
  • Advanced Magnifier Lens (Lens Style & Size + Lens Border Color + Zoom Type & Effects)
  • Extra Thumbnail Options (Disabled Thumbnails + Select Swap + Thumbnail Click Swap + Keep Thumbnails Visible)
  • Extra Layout Fixes (Add Custom CSS Classes + Remove Image Class)
  • WPML Compatible
  • Responsive
  • Priority Support

Try the PRO version: PRO VERSION

Author David Rosendo
Contributors drosendo
Tags gallery, images variations, woocommerce, woocommerce images, woocommerce variations, woocommerce variations images
  1. smart-variations-images screenshot 1

    Add images to your Product Gallery

  2. smart-variations-images screenshot 2

    Choose the images to be used and select the "slug" of the variation in the "Variation Slug" field.

  3. smart-variations-images screenshot 3

    Hides all other images that don't match the variation, and show only the default color, if no default is chosen, the gallery is hidden.

  4. smart-variations-images screenshot 4

    On change the variation, images in the gallery also change to match the variation. The image in the gallery when click should show in the bigger image(above).

  5. smart-variations-images screenshot 5

    Lens Zoom in action (activate it in WooCommerce > SVI (Smart Variations Images)

  1. Upload the entire smart-variations-images folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. On your product assign the product attributes and save
  4. Go to Product Gallery and upload/choose your images
  5. Assign the slugs to be used for the variation images for each of the image and save.
  6. Good luck with sales :)


  • Fixed: Duplicate Image where product is variable and with 1 image


  • Added: Fallback if no Main image get 1st Thumbnail image
  • Improvement: Order thumbnails correctly First/last
  • Fix: Duplicate thumbs with main image
  • Fix: If no main image set in variations, notice error prevent images loading
  • Fix: Hidden thumbnails not showing thumbnails in single product pages
  • Cleanup


  • Fix: Show only variations for select
  • Fix: WPML translation on non variations


  • Minor fix: Added missing thumbnail options
  • Minor fix: Lens not Round
  • Minor fix: If missing srcset skip to prevent images not loading
  • Code Clean Up


  • Added missing slug


  • Full code rewrite
  • WooCommerce 2.7 Compatible
  • Improvement: Better theme integration
  • Improvement: WPML Compatibility
  • Improvement: Faster Image loading
  • Removed: Included ReduxFramework plugin form SVI to require install for better compatibility
  • Added: Pre-loader on page load
  • Minor Fixes

  • Added fallback if main image not present
  • Cleared JS messages for showing

  • Added fallback if no images present
  • Faster loading of images

  • Fixed fallback if default variation has no images attributed

  • Added fallback if default variation has no image attributed

  • Fix correct variation not loading if default variation predefined
  • Not showing correct variation if variation with "any value" exist
  • Fix clear button not showign default images

  • Minor fix for themes over writing main image, fallback.

  • minor fix for some theme breaking up main image

  • Fix custom variation with spaces not being loaded properly

  • Fix Ligthbox not showing correct clicked image on Ligthbox open

  • Fix Lens and Ligthbox not loading Full image
  • Fix Clear button duplicating images after 2nd clear

  • JS clean up


  • Prevent duplicate images from showing
  • Fixed double quotes breaking image load, changed JS code
  • Preload images so they swap faster


  • Fixed JS issue when not detecting object
  • Fixed double quotes issue preventing images from getting loaded properly


  • Removed comments


  • Stable Version JS cleanUp
  • Return to native WooCommerce Ligthbox
  • I'm sorry about the previous problems that occurred during the latest update.


  • Fixed issue with hidding admin bar
  • Fixed issue not displaying single products
  • Fixed issue Custom variations not swapping


  • Added Missing thumbnails options


  • Fixed minor issue throwing fatal error for old PHP versions. Please use PHP 5.6.


  • Added missing files


  • Full code rewrite
  • Better theme integration
  • WPML Compatible
  • New Ligthbox
  • Faster response


  • Minor CSS fix with margins
  • Deleted uneeded files


  • Major release
  • New UI for admin now with ReduxFramework
  • Lens with Loader
  • Faster response
  • Better compatibility


  • Fallback support for variations using "all options"


  • Fixed warning message when WooCommerce not active, It was calling wrong function, thanks to @moyen03 for reporting it


  • Added feature to Hide thumbnails on load and show after variation has been selected.


  • Code cleanup


  • Code cleanup
  • Promotion 25% for the first 100!


  • Fix bug with ligthbox poping Ligthbox in some themes
  • Fix incorrect thumnails display with collumns
  • Added new Pro Features content


  • Fixed bug issue related with long variations not showing prices.
  • Fix incorrect thumnails display with collumns


  • Minor fix for Lens showing duplicate images
  • Fix Lens to load Original Image
  • Fix conflicts that may cause Lens not to work properly


  • Minor fix for Lens showing duplicate images
  • SVI PRO Update now WPML compatible


  • Wordpress 4.5 compatible
  • Complete code rewrite
  • Better theme compatibility
  • Clean code
  • SVI PRO update
  • Better lens
  • Better ligthbox


  • Fixed Columns display after reset
  • Fixed image swap not working in some cases


  • Fix reset
  • Launch Pro Version


  • Minor CSS to fix Woocommerce issues hidding images with class has-children.


  • First: Sorry for all the updates!
  • Fixed issue with ligthbox not working in themes or not setup to work with pretybox (woocommerce default ligthbox)
  • Fixed issue to prevent image to open in blank if no lightbox is activated for variable and single images
  • Code cleanup


  • Fixed issue of images opening in blank page is not variable product.
  • SVI only loaded in Variable products
  • Code cleanup


  • Fixed issue in some cases images on swap showed pixelixed
  • Fixed ligthbox issue on preview image not showing images if default product is enabled.


  • Fixed SVI not overwriting product image page if template has his own files.


  • Fixed warning messages
  • Fixed changelog typo on version
  • Fixed ligthbox not showing if using default woocomerce product template


  • Major realease
  • New settings page. WooCommerce > SVI
  • Better theme compatibility
  • Ligthbox now shows only same variations images
  • Added better transition for thumbnail click


  • Fix bug with for Wordpress 4.4 not swapping images
  • added optional register with for news and updates


  • New Lens Zoom (removed elevateZoom script, less 1 js file yay!)
  • Speed improvements due to new Lens Zoom
  • Clean JS/CSS

  • Minor issue with class naming of thumbnails, first and last class.


  • Fixed issue with thumbnails when not in order of appearence in product gallery update the swap with primary would not work correctly, thanks to @jamblo for reporting
  • Speed improvements due to fix

  • Fixed minor issue with thumbnail swap with primary not changing link for prettyPhoto Zoom, thanks to @wzshop for reporting


  • Fixed issue with variation descriptions not showing up, thanks to @jamblo and @Sandeepy02 for reporting


  • Fixed issue with CSS not loading if woocommerce.css not found, messing up the CSS of the images.
  • Code cleaning


  • Added support for "Custom product attributes".


  • Fixed issue with not showing images to swap on products with no variations. Thanks to parasomnias for alerting.


  • Fixed issue with Safari when when switch the variation image the image doesn't render properly.


  • Fixed issue with Lens Zoom not working, due to missing initialization.


  • Fixed load of images recurring to cache
  • Fixed swaping iamge when not using WOOSVI


  • Complete reconstrution of JS to better handle changes.
  • Fixed, no more flickering on "WooCommerce default product image"


  • Bug fixed, if user has multiple variations and is not using one of them, variation slug in the image would not show up.
  • Added, when user clicks "Clear Selection", update gallery.
  • Speacial thank to @max_Q, for reporting issue and supplying some solution.


  • Added option to prevent conflit with other plugins that maybe Removing/Adding action woocommerce_before_single_product_summary and woocommerce_product_thumbnails to insert their own gallery.
  • User can choose to "Enable WooCommerce default product image", SVI will work but may see some flickering when images change, this option is deactivated by default.


  • Stable Version
  • Fixed flickering when swapping images
  • Added Lens Zoom Option (activate it in WooCommerce > Configuration > Products Tab > Smart Variations Images)


  • Revert State, missing files to commit. working version.


  • This is a big release. Fixed flickering of images when swaping images. Added a new option for Lens Zoom, activate this option in WooCommerce > Configuration > Products * Tab > Smart Variations Images


  • Fixed issue where variation would not chagne in Chrome, also if no image variation exist, dont change image.


  • Fixed Warning message from appearing if WP_DEBUG was true preventing images from showing.


  • No longer use of caption field for Variation, new field has been added to replace the caption.
  • Javascript will search for new tag and loop the gallery.


  • Just released into the wild.

The plugin doesn't work with my theme

Themes that follow the default WooCommerce implementation will usually work with this plugin. However, some themes use an unorthodox method to add their own lightbox/slider, which breaks the hooks this plugin needs.

The plugin works but messes up the styling of the images

You can try several options here.

  1. Go to WooCommerce > SVI (Smart Variations Images) and activate or deactivate the option "Enable WooCommerce default product image"
  2. Disable other plugins that change the Product image default behavior.
  3. Read the Support Threads.

How do I configure it to work?

  1. Assign your product Attributes and click "Save attributes"
  2. Create the variations you need, and click "Publish" or "Save as draft"
  3. Go to Product Gallery and upload/choose the images you are going to use
  4. For each image assign the slugs to be used for the variation images swap
  5. Publish you product

You can skip steps 1 and 2 if your product is already setup with Attributes and Variations.

Version 3.2.5

Requires WordPress version: 3.6.0 or higher

Compatible up to: 4.7.2

Last Updated 13 Feb 2017

Date Added: 10 Jul 2015

Plugin Homepage


5 stars
56 ratings


Not Enough Data

Works: 0
Broken: 0