Lightbox addon - lightbox from main page rather than different project page?
-
I am currently designing my site, and I'm wondering if/how you can use the lightbox function so that once you click the project thumbnail, it lightboxes the rest of the images in the project while remaining on the main page, rather than opening a page for the project, and then lightboxing images from there? I feel like it might just be something I've missed. Any help would be greatly appreciated!
-
Dear @eddieperrote
I dont think this is possible without doing some extra coding.
The Project Thumbnail is there, but all the images within that project will not be called upon until triggered by going to that project/page. Some custom coding would need to occur that when either on page load or when a project thumbnail is clicked upon - a call go out to ask for all the image Data connected with that Thumbnail and load it.
I was also thinking a way to trick it would be to use The Element Grid. The first Image of the Element Grid would be your Project Thumbnail and the rest, the images relating to that project. All the image data is called so thats sorted - Then just add some code that 'display:none' all but the first image in the Grid ( your Project Thumbnail ). This way you could have a page of Element Grids that look like a page of Project Thumbnail's and then when you Click further and Lightbox kicks in your can swipe through the images.
This means things would require time setting up and also if there are many projects with many images it may slow the page down depending on size and quality.
I hope these initial thoughts may help you or send you in the right direction - possibly other functions like 'stack' or 'Carousel' can also be manipulated.
Best wishes and have a wonderful day :)
Richard
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it