Hi
I’m building a site that is primarily using images collections. The client wants the ability to search these images and for them to show on the search page. I have enabled this using one of your tutorials in the forum and have also been able to get the images to show in the built in lightbox. Unfortunately you have to click each thumbnail image seperatley for it to open it in the lightbox. What I would like to do is open one image and for the others on the search page to be viewed using the built in next and previous arrows. Just like when you have a portfolio page.
Is there a class or ID I need to add? I have look at the source code and have failed to spot it.
Here is a portfolio page which shows how i want the search page to behave: https://parishkneeler.wpengine.com/churches/oxfordshire/woodstock-st-mary-magdalene/ Click on a image and you can access all images on the page using the lightbox tools.
Here is the search page with a returned search: https://parishkneeler.wpengine.com/?s=woodstock I would like this to behave like the link above.
Any help much appreciated
Kind regards
Mark
Hey arnie-design,
Thank you for using Enfold.
It may be possible to set the lightbox script to group all lightbox links inside the search results page instead of opening them up individually. Edit the js > avia-snippet-lightbox.js file, look for this code around line 130:
groups : ['.avia-slideshow', '.avia-gallery', '.av-horizontal-gallery', '.av-instagram-pics', '.portfolio-preview-image', '.portfolio-preview-content', '.isotope', '.post-entry', '.sidebar', '#main', '.main_menu', '.woocommerce-product-gallery'],
Inside of that array are the selectors of the images or links container.
Best regards,
Ismael
Ismael, thank you ever so much
I now have a lightbox working on the search page
Many thanks for your help
All the best
Mark