I have one weird thing happening with lightbox on my website. If I add a lightbox image or gallery and then click on the image, the first time it will navigate directly to the image file. If you then click the back button and click the image again, lightbox loads up normally.

Any thoughts on why reloading the page after the first click makes lightbox work properly?

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.
If this question can be reworded to fit the rules in the help center, please edit the question.

what browser? loads fine in the lightbox first time for me in webkit.
–
MiloJan 29 '13 at 2:03

voted to close, as this appears to be a js/css/networking issue, not an issue with WordPress itself or one that requires WordPress knowledge
–
Tom J Nowell♦Jan 29 '13 at 10:42

Also your lightboxes work fine for me on your example page, but there are a number of 404s and the page took a while to load. Consider reducing the filesizes and optimising the size and number of images to reduce bandwidth
–
Tom J Nowell♦Jan 29 '13 at 10:44

2 Answers
2

Its just you. I tried from fast internet computer and it loads fine the first time.
Then I tried from a low speed computer before the page completely loaded, and it acts the way you described. So its all about loading and fast internet connection