Lightbox with captions
Two Individual Images
The data-title attribute of the containing <a> tag is shown as the caption on the image in the lightbox.
A Four Image Set
What makes these images grouped together as part of the same 'set' is the data-lightbox attribute being set to the same value, for each of the containing <a> tags.

