Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am inserting a number of galleries onto a page using the multiple galleries plugin. I want the image to open up in fancybox (highslide js variant or some such) when clicked and installed another plugin called easy fancybox.

The problem I am facing is that when the image is clicked in the gallery the image opens up its own post page and when that image is clicked it opens up in a fancybox. I want it to open up directly in a fancybox.

I would also like the fullsize image to open up in a fancybox not just the thumbnail.

I am quite sure this is possible and I am just doing something silly.

Thanks in advance.

Nandakumar Chandrasekhar

share|improve this question
    
possible duplicate of Any good lightbox-like option that works in WP 3.2.1? –  Chip Bennett Feb 17 '12 at 5:04

1 Answer 1

up vote 0 down vote accepted

Make sure that your galleries are set as Links to "Image File" and not to "Attachment Post" for Galleries and images. You'll find the settings in the image/galleries pop-up window.

I'm not familiar with your plug-in but you might need to manually add the fancybox class to each image. Another option is to add the code to your theme manually and skip the plug-in. I've posted an answer here: Any good lightbox-like option that works?.

share|improve this answer
    
Thanks for that. I found this out after some time but could not post here due to my reputation. Thanks once again. –  navanitachora Feb 18 '12 at 9:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.