View Full Version : SG V2.0 Issue: Clicking an image loads a page rather than the gallery

12-20-2012, 04:58 PM
Hi, please see: http://www.screencast.com/t/4JmOEk5oN

Just upgraded to 2.0, but still seems to be an issue. Seems to be post 3.5 WP upgrade.

When you click on an image 1st time, it fails SG load. Second time takes you to pic page, then if you click the image again works OK.

How do I fix?

12-21-2012, 08:59 AM
Hi rtysmith,

Thanks for joining the forum. Please in future post more relevant thread titles though, I want to make this a useful place for people to find answers.

The problem you are having here is that your images are linked to pages, where Social Gallery expects them to be linked to images (so it knows what to load in the viewer.)

You can fix this by either adding the class "noLightBox" to the images you want to not use social gallery on, or properly linking the images to larger/original versions. In WordPress 3.5 you do this by checking the "link image to" setting is set to "media" and not "attachment page" when inserting images.