If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I noticed that on product pages with a single image, lighbox will display the navigation arrows. I found form the prettyPhoto documentation that the image attribute rel should be set to rel=”prettyPhoto” for single images as opposed to rel=”product_images[grouped]”.
I would like to add a conditional statement to modify the rel attribute when there is only one image per product.
Some directions on where in the theme files I should implement the modifications would be greatly appreciated.
The topic ‘Lighbox – Single image view’ is closed to new replies.