• Hello, can you Support with answering how to call this plugins LightBox on dynamically created image that renders as the following

    <span id="featuredimage"><a href="https://www.example.com/files/example-image-2.webp" rel="lightbox"><img class="page-image ls-is-cached lazyloaded" src="https://www.example.com/files/example-image-2.webp" data-src="https://www.example.com/files/example-image-2.webp" width="100%" height="100%"></a></span>

    -but the LightBox scripts doesn’t start when clicking it,
    how to have it working?

    NB. Other standard image tags are having normally working LightBoxes.

    Thank you, regards

    • This topic was modified 2 years, 6 months ago by n381.
    • This topic was modified 2 years, 6 months ago by n381.
    • This topic was modified 2 years, 6 months ago by n381.
    • This topic was modified 2 years, 6 months ago by n381.
    • This topic was modified 2 years, 6 months ago by n381.
Viewing 1 replies (of 1 total)
  • Thread Starter n381

    (@n381)

    To update,

    i’ve applied additional js to update the links(href attr) on the dynamical images that sets and replace the main image tag.
    I can post snippet if any interested replies here.
    Regards

    • This reply was modified 2 years, 6 months ago by n381.
Viewing 1 replies (of 1 total)
  • The topic ‘Calling LightBox on dynamically created image’ is closed to new replies.