PK;9Ð\Æê8PÈ È product-image.phpnuW+A„¶get_gallery_attachment_ids(); $nb_return_images = ''; if ( has_post_thumbnail() ) { $attachment_count = count( $product->get_gallery_attachment_ids() ); $gallery = $attachment_count > 0 ? '[product-gallery]' : ''; $props = wc_get_product_attachment_props( get_post_thumbnail_id(), $post ); $image = get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ), array( 'title' => $props['title'], 'alt' => $props['alt'], ) ); $nb_return_images .= apply_filters( 'woocommerce_single_product_image_html', sprintf( '%s', esc_url( $props['url'] ), esc_attr( $props['caption'] ), $gallery, $image ), $post->ID ); } else { $nb_return_images .= apply_filters( 'woocommerce_single_product_image_html', sprintf( '%s', wc_placeholder_img_src(), esc_attr__( 'Placeholder', 'nimbus' ) ), $post->ID ); } if ( $attachment_ids ) { $loop = 0; foreach ( $attachment_ids as $attachment_id ) { $classes = array( 'zoom' ); $image_class = implode( ' ', $classes ); $props = wc_get_product_attachment_props( $attachment_id, $post ); if ( ! $props['url'] ) { continue; } $nb_return_images .= apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '%s', esc_url( $props['url'] ), esc_attr( $image_class ), esc_attr( $props['caption'] ), wp_get_attachment_image( $attachment_id, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ), 0, $props ) ), $attachment_id, $post->ID, esc_attr( $image_class ) ); $loop++; } } ?>
'.$nb_return_images.'
'; echo ''; ?> PK;9Ð\Æê8PÈ È product-image.phpnuW+A„¶PKQ