• Hi,

    I’ve installed NGGallery with FancyBox set as the custom effect. When I add multiple NGG galleries to a page and I view them via Fancybox, they don’t end after each gallery. The user is able to scroll through all the NGG images on that page as if they were all part of the same gallery.

    Does anyone know how this can be changed to show only per gallery?

Viewing 15 replies - 16 through 30 (of 31 total)
  • i have the same one at the latest version. look for the auto-gallery option. i promise you if you have the latest version, it’s there.

    So weird. I’m just not seeing it. I’m using 1.3.4.9.

    Any way you could post a screen shot of your media settings page?

    daveydz3,

    We’re having similar issues because our multiple galleries are contained in a div class=”fancybox-hidden” so that the gallery opens up when you click the designated button (not a thumb). The problem is that the multiple nextgen galleries are all in divs with this same class. So what happens is when you open the gallery it doesn’t end where it should and bleeds into the next gallery photos.

    How do we link directly to the nextgen gallery – but not have that gallery show up until the button we link is clicked? And, how do we have multiple on 1 page?

    I know there must be a better way. Any thoughts are appreciated. Thank you for your help.

    Here is the code were using for reference –

    <div class="buttonclass">
    <a href="first_image_in_gallery_A.jpg"><img class="alignnone size-full wp-image-413" title="Gallery A" src="gallery_A_button.png" alt="" width="225" height="60" /></a>
    </div>
    <div class="fancybox-hidden">
    
    [nggallery id=3]
    
    </div>
    
    <div class="buttonclass">
    <a href="first_image_in_gallery_B.jpg"><img class="alignnone size-full wp-image-413" title="Gallery B" src="gallery_B_button.png" alt="" width="225" height="60" /></a>
    </div>
    <div class="fancybox-hidden">
    
    [nggallery id=4]
    
    </div>

    Can I see a link to this page? So, all the galleries work, they just get thrown together as one bog gallery?

    Yes – that’s correct. View the ‘Partners’ page:

    https://laclearchannel.com/iheartrecap/?page_id=48

    I should specify: open the budweiser gallery – it spills into the facebook gallery and then to HTC – etc

    the apple gallery is garbage after working in it.

    Also, your code is wrong. The img tag should have the src of the image. Then your a tag should have a href like “gallerya” then your hidden div should have an id of “gallerya” etc, for the next hidden div. Then following the directions in previous posts, it should work.

    Thanks so much for taking a look. I’ll try that and let you know.

    Thanks daveydz23!!!

    Sorry, I’m trying to help out from my phone so I can’t see the source, but I believe my directions above should fix this.

    <div class=”buttonclass”>
    <img class=”alignnone size-full wp-image-413″ title=”apple” src=”https://laclearchannel.com/iheartrecap/wp-content/uploads/2011/10/photo_bud.png&#8221; alt=”” width=”225″ height=”60″ />
    </div>
    <div id=”gallerya” class=”fancybox-hidden”>

    [nggallery id=5]

    </div>

    what am I doing wrong?

    Your image isn’t a link. Wrap your image with “a” tags. In the “a” tag put the href as gallerya or #gallerya if the first doesn’t work.

    I did. That’s why the img tag above is a link. it’s parsed…

    Here it goes to wp support. On the site in question i get a 404.

    Did #gallerya and the button does not trigger the light box.

    Any ideas?

    I’m sorry! Like I said I’m trying to do this from my phone. I forgot to add that the a tag needs the fancybox class. And make sure the href is #gallerya

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Multiple galleries per page and Fancybox behavior’ is closed to new replies.