Added an option to select an image to start with. In my particular use case the first image was a logo and when clicked, the lightbox should open with the first 'real' image. So I used the following options:
Thank you for sharing your code. It's not clear to me how broadly useful the additional option is as most people use the anchor tag's href to reference their starting image.
Added an option to select an image to start with. In my particular use case the first image was a logo and when clicked, the lightbox should open with the first 'real' image. So I used the following options:
lightbox.option({ 'resizeDuration': 200, 'wrapAround': true, 'imageToStartWith': 1 })