diff --git a/prerender/seo/product.cjs b/prerender/seo/product.cjs index fcf0325..7b2a184 100644 --- a/prerender/seo/product.cjs +++ b/prerender/seo/product.cjs @@ -48,6 +48,11 @@ const generateProductMetaTags = (product, baseUrl, config) => { + + + `; }; diff --git a/src/components/Images.js b/src/components/Images.js index 194771c..b9520f8 100644 --- a/src/components/Images.js +++ b/src/components/Images.js @@ -39,6 +39,7 @@ class Images extends Component { for(const bildId of bildIds){ if(bildId == mainPicId){ + if(window.productImageUrl) continue; if(window.largePicCache[bildId]){ pics.push(window.largePicCache[bildId]); diff --git a/src/components/ProductImage.js b/src/components/ProductImage.js index 1a29782..7e000ed 100644 --- a/src/components/ProductImage.js +++ b/src/components/ProductImage.js @@ -5,8 +5,6 @@ import Images from './Images.js'; const ProductImage = ({ product, - socket, - socketB, fullscreenOpen, onOpenFullscreen, onCloseFullscreen @@ -44,8 +42,6 @@ const ProductImage = ({ )} {product.pictureList && (