Lightbox 2 is a JQuery-script developed by Lokesh Dhakar used to display images in an overlaying box. It can also be used to make galleries and can be found at www.LokeshDhakar.com/projects/lightbox2
Questions tagged [lightbox2]
452 questions
1
vote
3 answers
Lightbox2 pageload trigger
How can I trigger a lightbox2 body on load. I need a popup when user enters a site.
Thanks in advance.

Subhojit Mukherjee
- 701
- 3
- 10
- 24
1
vote
1 answer
How to open a scrollable PDF or iframe with lightbox2?
I need to open a PDF file in a Lightbox and I was trying with Lightbox2 but it doesn't seem to work
I did find an old answer that stated to use iframe inside data-lightbox but only the first page it is displayed because Lightbox opens my PDF file…

al404IT
- 1,380
- 3
- 21
- 54
1
vote
0 answers
Lightbox2 adds an extra image at the end of full screen image set
I've just noticed that Lightbox2 (https://github.com/lokesh/lightbox2) is duplicating or adding extra images at the end of the full screen version of the image, everything else works fine. When viewing I click on the next image arrow for the next…

blndr_tommy1441
- 51
- 6
1
vote
0 answers
Uncaught ReferenceError: lightbox is not defined
I am making a web site in node js with a handlebar template. I have followed the instructions shown in the doc. But getting an error that Uncaught ReferenceError: lightbox is not defined
My CSS and js files are in the public/dist/lib folder and my…

Jayna Tanawala
- 475
- 10
- 27
1
vote
0 answers
lightbox2 module with webpack results in missing images
Still fairly new to webpack. I am outputting the webpack start js file to wwwroot\assets\js\Dist\start.js
This is my webpack file
const path = require('path');
const outputPath = './wwwroot/assets/js/Dist';
const sourcePath =…

LukePerrin
- 235
- 5
- 17
1
vote
1 answer
How can I implement lightbox in Laravel 8
I'm trying to implement image gallery using lightbox but it's not working
these are the script I've called in the head