lokesh / lightbox2

THE original Lightbox script (v2).
http://lokeshdhakar.com/projects/lightbox2/
MIT License
6.21k stars 1.77k forks source link

Lightbox always starts from the Last image in the list #213

Closed samvig closed 7 years ago

samvig commented 10 years ago

Hi,

Is there anything I can do so that the lightbox starts from the first image? Code is as below

Hapur

                <span>Smt. Brahma Devi SBVM</span>
                <a href="rangepic/hapur/hapur1.JPG" data-lightbox="hapurs" data-title="Hapur Shooting Range">VIEW</a>
                <a href="rangepic/hapur/hapur2.JPG" data-lightbox="hapurs" data-title="Hapur Shooting Range">VIEW</a>
                <a href="rangepic/hapur/hapur3.JPG" data-lightbox="hapurs" data-title="Hapur Shooting Range">VIEW</a>
                <a href="rangepic/hapur/hapur4.JPG" data-lightbox="hapurs" data-title="Hapur Shooting Range">VIEW</a>
Bakaroo commented 10 years ago

I have the same problem. I made a series of lightbox images, all starting at one thumbnail. It works, but it starts with the last image. I tried inserting the code "rangepic" in the a href= but then it did not work at all.

Bakaroo commented 10 years ago

This is the way I activated it and when I click on the thumb it always starts with 2 out of 2. I am using a n iMac, OSX 10.9.4 Otherwise it works just right. Any suggestions?

Bakaroo commented 10 years ago

Bakaroo commented 10 years ago

<a href="first image.jpg" rel-"lightbox" data-lightbox="group" title+"xxx">

geoffbrowne commented 10 years ago

I have this issue also. Please see http://www.warehamwednesdays.org/Gallery.html Any chance you could look at this please Lokesh ?

Geoff.

lokesh commented 7 years ago

Looks like this issue was eventually resolved for everyone. I can reopen if needed. Thanks.