jameskoster / woocommerce-product-image-flipper

39 stars 20 forks source link

=== WooCommerce Product Image Flipper === Contributors: jameskoster, gabriel-kaam Tags: woocommerce, ecommerce, product, images, photos, product photos, front and back Requires at least: 3.8 Tested up to: 5.0.0 Stable tag: 0.4.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Adds a secondary image on product archives that is revealed on hover. Perfect for displaying front/back shots of clothing and other products.

== Description ==

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.

Please feel free to contribute on github.

== Installation ==

  1. Upload woocommerce-product-image-flipper to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Done!

== Frequently Asked Questions ==

= How do I control which image is displayed on hover? =

Whichever image is first in the order of product gallery images will appear on hover.

= My secondary image is taller than the main product image and overlaps content when it fades in =

This is due to the secondary image being positioned absolutely. This is the cleanest way I can think to do this with CSS alone. You may want to consider hard cropping your product catalog thumbnails to ensure all images are the same dimensions in product archives.

= It doesn't work. Nothing happens when I hover over images? =

First of all check that the product you're checking has a gallery attached to it.

== Screenshots ==

  1. A flipped image.

== Changelog ==

= 0.4.2 - 26.11.2018 =

= 0.4.1 - 12.12.2017 =

= 0.4.0 - 21.07.2017 =

= 0.3.0 =

= 0.2.0 =

= 0.1 = Initial release.