We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33968
    • 863 Posts
    I’ve implemented a gallery that uses jQuery LightBox 0.5. I’m using Modx Revolution.

    All works fine but for some reason when the Lightbox loads, it counts each image three times, plus one more.

    For example, if I have 3 source images for the gallery, it will display 10 total; the first two images will display 3 times each, then four of the last image. Frustrating!

    I have no idea what is generating the multiple images in the Lightbox image set - has anyone experienced the same issue or has any tips on how I might solve it?

    I’m afraid I don’t have a great knowledge of jQuery or javascript so I’ve not been able to dig deep undecided

    I can provide source code (I have not modified the original jQuery or lightbox code) and screenshots if it’s of any help!
    Thanks so much in advance
      • 20240
      • 14 Posts

      I’ve had the same problem, check your class/id that your are using for lightbox in your html.
      If the class/id is added or generated elsewhere they will also be include in your gallery.