Support » Plugin: Simple Lightbox » change source via javascript

  • Resolved andreas.kastl

    (@andreaskastl)


    Hello!
    I open a webcam image with your plugin – but the image in the lightbox do not refresh it shows an old image.

    So I want to add a actual timestamp to the image src for example http://www.xyz.at/webcam.jpg?20200525085911 -> so the actual image will be shown.

    Could you help me please to do that? or you have a better solution?

    Many thanks!

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

    (@archetyped)

    Hi, SLB will load whatever image the link is set to, so adding a link with the timestamped URL will display that image in the lightbox when clicked.

    If this is not occurring, please provide a link to a page that exhibits the issue you are experiencing and I would be glad to take a closer look.

    Hello,
    Yes I made it, the trick was to add timestamp to href link instead to the src.
    Thanks!

    Plugin Author Archetyped

    (@archetyped)

    Yes, SLB displays the URL of the link that is clicked in the lightbox. The content of a link can be anything: text, a thumbnail image, etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.