diff --git a/templates/single-product/product-image.php b/templates/single-product/product-image.php
index e2bc27e8994..30bb7f99e5c 100644
--- a/templates/single-product/product-image.php
+++ b/templates/single-product/product-image.php
@@ -16,11 +16,14 @@ global $post, $woocommerce;
- ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) ) ?>
+ ' . get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) ) . '', $post->ID );
+ ?>
-
-
+ ', $post->ID );
+ ?>
diff --git a/templates/single-product/product-thumbnails.php b/templates/single-product/product-thumbnails.php
index 5a4f0b14f8e..609623a41af 100644
--- a/templates/single-product/product-thumbnails.php
+++ b/templates/single-product/product-thumbnails.php
@@ -35,7 +35,9 @@ if ( $attachment_ids ) {
if ( ! $attachment_url )
continue;
- printf( '%s', esc_attr( $attachment_url ), esc_attr( get_the_title( $id ) ), implode( ' ', $classes ), wp_get_attachment_image( $id, apply_filters( 'single_product_small_thumbnail_size', 'shop_thumbnail' ) ) );
+ $image = apply_filters( 'single_product_thumbnail_image', sprintf( '%s', esc_attr( $attachment_url ), esc_attr( get_the_title( $id ) ), implode( ' ', $classes ), wp_get_attachment_image( $id, apply_filters( 'single_product_small_thumbnail_size', 'shop_thumbnail' ) ) ), $id );
+
+ echo $image;
$loop++;
}