●1
●2

fancyBox - Images

Single image

Add a data-fancybox attribute to any image link to enable fancyBox.

Image gallery

Galleries are created by adding the same data-fancybox attribute value.

Gallery with one preview image

To show only one or a few images but have a large gallery, simply hide the rest of the links.
Optionally, use data-thumb for thumbnail image.