I’ve built a webyep gallery for a client of mine, then applied the Lightbox2 to it. It works perfectly on my Mac, on our XP with Chrome, and on VirtualBox with Windows 7 and IE 9.
However, when I click on one of the thumbnails from Chrome or Firefox on the same VirtualBox machine, instead of using the Lightbox effect, it just opens the image in a new tab. You can make the gallery do this on a Mac by control-clicking on the thumbnail, the choosing “Open link in new tab”.
Any ideas on how to get those browsers to show properly?
This page is trying to load jQuery and Prototype at the same time. Pick one and stick with it! You really don’t need both.
Walter
On Nov 13, 2012, at 4:00 PM, Caleb G wrote:
This is odd.
I’ve built a webyep gallery for a client of mine, then applied the Lightbox2 to it. It works perfectly on my Mac, on our XP with Chrome, and on VirtualBox with Windows 7 and IE 9.
However, when I click on one of the thumbnails from Chrome or Firefox on the same VirtualBox machine, instead of using the Lightbox effect, it just opens the image in a new tab. You can make the gallery do this on a Mac by control-clicking on the thumbnail, the choosing “Open link in new tab”.
Any ideas on how to get those browsers to show properly?
I just did a bit of source diving. Apparently, WebYep is asking for two scripts in the /lightbox/ folder that don’t exist:
and…
With the new version of Lightbox, those scripts don’t exist. Instead you have:
jquery-1.7.2.min.js
jquery-ui-1.8.18.custom.min.js
jquery.smooth-scroll.min.js
A email to Objective Development might be in order.
A email to Objective Development might be in order.
… and probably senseless.
Hi Caleb,
the prototype call is either done by the gallery-action or the webyep core automatic (not sure) cause all older lightbox-versions run on prototype so there is nothing you could do to stop.
I wonder a little bit, cause the jQuery call needs to be add manually (which you did or was this process automatic as well?).
One chance I see is running a noconflict scenario such as:
Put this into the before end head tag of your page.
However, I didn’t get around to trying your method. After doing a LOT of hunting, I found a download for Lightbox 2.05, which is what you have to use with WebYep as of today, and it works perfectly.
Also, for some reason I had jquery referenced in my page HTML markup. I have no idea why.
For future reference, you can download Lightbox 2.05 from here: http://cl.ly/Ktlu