Hi Renaud,
I have used your code example modified with my paths and have also deleted the originally downloaded lightbox plugin and reloaded the copy you gave me and activated it.
I still get the feeling that the plugin is not working because I do not get a gallery and I do not see the back, forward arrows and close X.
My result is here:
https://dave.sdsa.co.uk/lightbox-test
and here is the code I have used:
Code: Select all
<p style="text-align: center;"><a href="https://dave.sdsa.co.uk/bl-content/uploads/pages/bde3641e33aabdb5f9998046f7ffaea9/router-on-sled.jpg" data-lightbox="test-gallery"><img src="https://dave.sdsa.co.uk/bl-content/uploads/pages/bde3641e33aabdb5f9998046f7ffaea9/thumbnails/router-on-sled.jpg" alt=""></a> <a href="https://dave.sdsa.co.uk/bl-content/uploads/pages/bde3641e33aabdb5f9998046f7ffaea9/log-on-sled-bed.jpg" data-lightbox="test-gallery"><img src="https://dave.sdsa.co.uk/bl-content/uploads/pages/bde3641e33aabdb5f9998046f7ffaea9/thumbnails/log-on-sled-bed.jpg" alt=""></a></p>
I have used both filezilla and cpanel file manager to load the plugin with the same results each time.
I also noticed this: "Make sure jQuery, which is required by Lightbox, is also loaded." on this page from the plugin authors site:
https://lokeshdhakar.com/projects/light ... ng-started item 4 on this page. Is there a way to ensure that JQuery is loaded?
I am missing something I am sure but don't know what it is!
Thanks again for your valued help
Dave