• Resolved cmarabate

    (@cmarabate)


    To view the site use…
    username: demo
    password: 10501050

    For the 4 image grid on this page, I added the selector of the entire grid to the “Custom Grouping Selectors” box as “.image-grid$$A” I’m not sure what the “$$A” is for but I know it was necessary for this to work on other pages with multiple images to be able to scroll between then in the lightbox without having to close out and click the next image.

    But for some reason on this page, it is adding each image multiple times. Some of the images are added twice and some are added 3 times.

    I tested it without the “$$A” and it didn’t let me scroll between the images in the lightbox at all.

    Do you have any idea what is causing this?

    Thanks,

    Chris

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello,

    Your gallery generates strange HTML code. It includes link for each image and <p> tag with two links to this image as result the lightbox attaches to all links and duplicate images are show into the lightbox.

    https://i64.tinypic.com/33jr9jl.jpg

    Thread Starter cmarabate

    (@cmarabate)

    Okay, thanks. It sounds like the issue has to do with the <p> tags that WordPress automatically adds. I made sure to put all of the code on a single line to avoid this but I guess it is still adding them for some reason. I will try the same code in an HTML/PHP template file or something and see if that works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images show up in lightbox multiple times’ is closed to new replies.