Custom Module Lightbox Gallery Not Showing Close LinkSOLVE
Feb 13, 2019 11:32 AM
Hello! I'm currently working on a customer's examples page and wante to create a grid-like gallery that allows the images to be clicked on and seen in a lightbox, then closed.
I found this helpful article here that helped me set everything up, but even after following the tutorial and using the same code, my "Close" link is still missing when an image is overlayed in the lightbox. Images below for reference.
What I want to see (example from article):
What I'm seeing (no "close" option in the lightbox, and the overylay is fully dark):
I'm aware I'll need to make all of the images around the same size to get the grid style I'm looking for, but am still puzzled as to why I can't find or see the "Close" link in my lightbox.
All of the code I'm using is in this article also linked above, and I followed the tutorial step by step creating the custom module. Any help on this would be greatly appreciated!
Solved! Go to Solution.
Feb 26, 2019 3:26 PM
Ah! So it seems like there's a problem with the js- rather than popping up the image in a "lightbox", it just redirects to the image's source url.
I removed those, and it seems to be working- wanna give it a shot?