Title: Lightbox multiple gallery problem
Last modified: August 24, 2016

---

# Lightbox multiple gallery problem

 *  [davidstefic](https://wordpress.org/support/users/davidstefic/)
 * (@davidstefic)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/lightbox-multiple-gallery-problem/)
 * i am using “Lightbox Gallery”.
    I have posts with some text and a gallery inside
   each one… example: post1 (Apples): 20 pics post2 (Oranges): 30 pics
 * my page shows all my posts one after the other.
 * When i click on first picture in post 1 (Apples): Lightbox opens and writes: 
   picture 1 of 50.
    When i click on first picture in post 2 (Oranges): Lightbox
   opens and writes: picture 21 of 50.
 * I want to divide my galleries. Because if i click on Oranges it shows picture
   21 and then if i click on previous picture it shows Apples…
 * I figured out (i my be wrong) that the problem is in **rel=”gallery1″**:
    `<a
   class="cboxElement" href="myurl" rel="gallery1"><img width="150" height="150"
   alt="" src="mypicturesource"></a>`
 * I hope you understand what i mean.
    How can i correct this?

Viewing 1 replies (of 1 total)

 *  Thread Starter [davidstefic](https://wordpress.org/support/users/davidstefic/)
 * (@davidstefic)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/lightbox-multiple-gallery-problem/#post-5963599)
 * any ideas? 🙁

Viewing 1 replies (of 1 total)

The topic ‘Lightbox multiple gallery problem’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [davidstefic](https://wordpress.org/support/users/davidstefic/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/lightbox-multiple-gallery-problem/#post-5963599)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
