WC Secondary Product Thumbnail


WC Secondary Product Thumbnail is a very simple plugin that adds a secondary product thumbnail on product archives that is revealed when you hover over the main product image.

This plugin is ideal if you’d like to display more than one image on product archives, and perfect if you want to display front and back images of clothing for example.

When installed, just activate the plugin and you’re good to go.

Other Features by WCSPT

  • High-performance animations using CSS3 transitions
  • Fallback to jQuery’s .animate(), if needed
  • Ultra lightweight
  • Does not load its JavaScript and CSS, and also secondary thumbnails on mobile devices
  • Works in IE8+ and all of the evergreen browsers
  • Available on GitHub

Live Demo

See WC Secondary Product Thumbnail in action here.

Control Which Image to Reveal on Hover

You can either reveal the first image or the last image in product gallery. By default, the first image in product gallery will reveal on hover. If you would like to reveal the last image instead, add this line into your theme’s functions.php file:

add_filter( 'wcspt_reveal_last_img', '__return_true' );

Need Help?

Visit my Contact page to send your support request.


This plugin is a fork of the WooCommerce Product Image Flipper developed by James Koster. Changes and improvements applied in this fork:

  • Removed image moving up and down animations, now just simple fade in and fade out
  • Disabled plugin’s functionality on mobile devices (since this plugin is supposed to only work on devices with mouse)
  • Improved themes compatibility
  • Added support for older browsers like Internet Explorer 8-9
  • And more (see CHANGELOG.md)


  • A flipped image.


Installation Instructions
  1. In your WordPress Dashboard select Plugins then Add New from the sidebar menu
  2. Search for WC Secondary Product Thumbnail
  3. Click Install Now
  4. Activate the plugin
  5. Enjoy!
What is the dimension used by my secondary images?

It uses the image size that you specify at WooCommerce > Settings > Products > Display > Catalog Images, which is usually used for images on product archives.

It doesn’t work. Nothing happens when I hover over product images?

Check that the product gallery has an image attached to it. See the Product Gallery meta box when editing the product.


Read all 7 reviews

Contributors & Developers

“WC Secondary Product Thumbnail” is open source software. The following people have contributed to this plugin.




  • Fix – WooCommerce 3.0 compatibility


  • Feature – Reveal the last image in product gallery instead of the first image by using: add_filter( ‘wcspt_reveal_last_img’, ‘__return_true’ );
  • Tweak – Better animation timing
  • Tweak – Further improve themes compatibility
  • Dev – Removed ‘wc_secondary_product_thumbnail_styles’ filter hook


  • Minor CSS improvements


  • Use minified CSS & JS files rather than the non-minified versions, if SCRIPT_DEBUG is not turned on


  • Animations now use CSS3 transitions for smoother animation effect
  • Fallback to jQuery’s .animate() in legacy browsers (e.g. IE 8-9)
  • Improved performance


  • Tested with WordPress 4.6 and WooCommerce 2.6
  • Replace deprecated jQuery(document).ready(function) with jQuery(function)


  • Fix a fatal error when $product->get_gallery_attachment_ids() is called on some themes.
  • Cleanup code.


  • Minor CSS fixes.


  • Fix secondary thumbnail opacity issue on some themes.


  • Initial version.