Lightbox Notes
To add Lightbox functionality to any single image:
- Add
rel="lightbox"
to the anchor tag. - Add a
title=""
attribute to the anchor tag. - Add an
alt=""
attribute to the image tag.
To add Lightbox functionality to any series of images:
- Add
rel="lightbox[value]"
to the anchor tag of each image. - Add a
title=""
attribute to the anchor tag of each image. - Add an
alt=""
attribute to the image tag of each image. - Any set of pictures with the same
rel="lightbox[value]"
will display with nav buttons.
![](https://secure.gravatar.com/avatar/1de0c2609e13647bd516431e3c79da7c?s=200&d=https%3A%2F%2Fperishablepress.com%2Fwp%2Fwp-content%2Fthemes%2Fyes%2Fimg%2Favatar.png&r=pg)
About the Author
Jeff Starr = Designer. Developer. Producer. Writer. Editor. Etc.
2 responses to “Lightbox Notes”
What causes dotted/dashed lines to show across the images while being displaying in lightbox once next or previous is selected?
Is there a fix for this?
What do the lines look like? My ability to help you would be greatly improved if you were to provide a link to a page that demonstrates the issue you are describing.