Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Noor Alam

    (@naa986)

    Hi, do you mean like a gallery of images in lightbox (Next/Previous arrow)?

    Thread Starter xadim

    (@xadim)

    I mean like a slider.

    Plugin Author Noor Alam

    (@naa986)

    To open an image in lightbox from a custom image you just need to add the wp-colorbox-image class to the link. For example:

    <a class="wp-colorbox-image" href="https://example.com/images/lightbox-image.jpg"><img src="https://example.com/images/thumbnail-image.jpg"></a>

    However, lightbox may not work for dynamically generated content. So try adding that class to your slider image link and see how it goes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multiple images’ is closed to new replies.