Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5929
    sek34
    Participant

    Hi all,

    What I want is pretty simple, but I have troubles.
    I’d like to be able to have several galleries on a same page.

    here is the code I use :

    <a class="gallery" rel="lightbox[gallery-1]" title="Bannière 1" href="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban1.jpg"><img src="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban1thumb.jpg" alt="" width="150" height="43"/></a>
    <a class="gallery" rel="lightbox[gallery-1]" title="Bannière 2" href="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban2.jpg"><img src="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban2thumb.jpg" alt="" width="150" height="43"/></a>
    
    <a class="gallery" rel="lightbox[gallery-2]" title="Bannière 3" href="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban3.jpg"><img src="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban3thumb.jpg" alt="" width="150" height="43"/></a>
    <a class="gallery" rel="lightbox[gallery-2]" title="Bannière 4" href="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban4.jpg"><img src="http://www.aucoeurdujardin.net/wp-content/uploads/2014/12/ban4thumb.jpg" alt="" width="150" height="43"/></a>

    Using this, I only have one gallery on my page.
    need help please..

    #5940
    Bartosz
    Keymaster

    If you used this code it would work as expected. But as I remember from your site image links are different (maybe you have to disable automatic lightbox for single images).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.