jQuery Captionjs Examples

The first example is the default mode, in which the caption sits below the image.

The second example shows how captions can be stacked on top of the image using the stacked mode.

The third mode, hide, has a caption that slides down when a user hovers over the photo, allowing the image to be seen unobscured.

Two climbers in the Bernese Alps of Switzerland stand on a precipice across from a large mountain peak shrouded in clouds called the Mönch.

The last mode, animated, features an animated caption that appears when the user hovers over the image. Also, in this example, the caption text comes from the image's alt text rather than its data-caption attribute, as is the case for the other examples.