Square image

The Many Demonstrations of Images

Click on any image to open the lightbox. Captions are shown below the image.

Wide landscape image — the lightbox should constrain width to 90vw.

Tall portrait image — the lightbox should constrain height to 80dvh.

Image with a long caption — the caption scrolls independently; the image is unaffected.

Image without a caption — no caption area should appear.

Grid layout with a mix of aspect ratios.

Mixed carousel with wide, portrait, and captioned images.

Recommended