Open lightbox from url not image #545
Replies: 3 comments 2 replies
-
I would need a codepen or a reduced test case to help you. |
Beta Was this translation helpful? Give feedback.
-
I just tried adding CleanShot.2025-01-25.at.22.31.38.mp4I can't check the entire site but hopefully this gives you an idea |
Beta Was this translation helpful? Give feedback.
-
Thank you for taking the time to look at it. I also have it working on the local copy as you described. I was using youdocms to try and show the issue. However the problem is actually with another site where the pages are loaded via Ajax. Unfortunately I cannot provide access at moment. Will post back here when I find the issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I assumed this would work but cant seem to get image to show in lightbox. I am trying to open an image from a list of urls in a datatable.
<a class=" glightbox" href="files/project/QUAD/task/QUAD-21/image-2023-07-25-10-53-51-343.png">image-2023-07-25-10-53-51-343.png</a>
The image opens in a new browser tab not the lightbox. Tried adding
rel="lightbox"
Does this only work on click when you have
<img src="small.jpg" alt="image" />
Do I need to use event handler or can someone please clarify if the problem is elsewhere.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions