View Full Version : Lightbox loading but disappears

04-21-2013, 06:15 PM
Good morning!

First, here is the page in question. Note that the plugin is not working site-wide, but this is a page I'm setting to go live and pretty much the reason I installed this plugin.


The plugin wasn't working on the setting "all content images" so I switched to one of the compatibility modes. This is now bringing up the lightbox when you click an image, but it goes through the load animation and then the lightbox vanishes.

I want to be able to use this site-wide with my single images as well as galleries. My currently gallery that you see on this page is a native Wordpress gallery, images set to image page, not attachment page.

I was using the Fancy Box plugin and that is currently disabled while I troubleshoot this. Any thoughts/troubleshooting advice would be much appreciated!

04-21-2013, 10:18 PM

Usually the appear, then vanish trick, is because you're linking to a PAGE and not an IMAGE. For the lightbox to work it needs to use the image.

I've just checked (for some reason I had a different Social Gallery site and thought it was yours, not sure how that's happened!).

You'll need your images to link to the media file, and not the attachment page, and then it will work.

04-21-2013, 10:38 PM
The ARE linked to the media file. See? Not working.53

04-22-2013, 08:06 AM
Yeah that's WordPress lying to you, there's an issue where the link to media file, doesn't actually link it to the media file!! (annoying)

Look at the shortcode, does it have link = "file" in it? If not you need to add it and it will work (the bug in WordPRess is that WordPress doesn't add it) hopefully WordPress will fix this in 3.6