Closed MikhailKlemin closed 5 years ago
UPDATE: I have updated and restarted firefox and all working... No idea waht it was
Hi! I just cloned the repo and copied files. However it does not work, just shows images as there no any gallery.
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Test</title> <meta name="description" content=""> <meta name="author" content=""> <link rel="stylesheet" href="css/lightgallery.css"> </head> <body> <div id="lightgallery"> <a href="img/do-truck/_S1A0708 1.png"> <img src="img/do-truck/_S1A0708 1.png"> </a> <a href="img/do-truck/_S1A0722.png"> <img src="img/do-truck/_S1A0722.png"> </a> </div> <script src="js/lightgallery.min.js"></script> <script> lightGallery(document.getElementById('lightgallery'), { thumbnail: true }); </script> </body> </html>
The css and javascript files were cloned from github, the console log is clear in FireFox. I tried it locally and via light-server too. What did I wrong?
UPDATE: I have updated and restarted firefox and all working... No idea waht it was
Hi! I just cloned the repo and copied files. However it does not work, just shows images as there no any gallery.
The css and javascript files were cloned from github, the console log is clear in FireFox. I tried it locally and via light-server too.
What did I wrong?