[Plugin: Shadowbox JS] Protocol-relative URLs break the lightbox.
-
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
mypath/myfile.jpgor in fully specified absolute form like this
http://mydomain.com/mypath/myfile.jpgthe 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
//mydomain.com/mypath/myfile.jpgthe 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. ]
The topic ‘[Plugin: Shadowbox JS] Protocol-relative URLs break the lightbox.’ is closed to new replies.