Product image on single product page. A special case…
-
Hi,
I’ve picked up a project for which I could not find the time in the past period. I have problems with the images on the single product page and therefor on the magnifier also.Case is this:
The site I’m developing is a stockphoto site and as you can imagine I want to protect the images from theft as much as I can. That’s why I use a watermark plugin. In WooCommerce versions prior to 3.3 I was able to present the visitor with a large thumb on the single product page and in the magnifier / lightbox.To achieve this I added a custom thumbnail size by this code:
add_image_size( 'preview', $width = 3072, $height =3072, $crop = false );
Next I had some logic to select the ‘preview’ or the default ‘large’ image size. That worked well.
After updating this is not working anymore and I can’t figure out how to get it working again. Woocommerce picks the full size image (without a watermark) and then it is easily stolen. I’m on it for a long time and almost all of the topics are about the not being square of the thumbs in the catalog.
I’m on the end of my rope here. Please help.
- The topic ‘Product image on single product page. A special case…’ is closed to new replies.