Shadowbox JS
Protocol-relative URLs break the lightbox. (1 post)

  1. fwchapman
    Posted 5 years ago #

    I like your lightbox media viewer so much that I use it on all my WordPress websites! I just noticed a strange quirk: if I express my image URL in relative form like this


    or in fully specified absolute form like this


    the lightbox displays my linked image when I click on the displayed image; on the other hand, if I use a protocol-relative form of the URL like this


    the lightbox does nothing, and my browser ends up displaying the linked image when I click on the displayed image.

    I'm going to call this a bug rather than a feature. :) I was mystified and very frustrated until I figured this out. Could you please fix this in a future release?

    Thanks very much,

    Fred Chapman
    [ Signature moderated. ]


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shadowbox JS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic