Images, Videos & Text

Use thumbnail layouts to present linked images, videos, and supporting content in an organized, easy-to-scan grid.

Thumbnail layouts

Bootstrap thumbnails are designed to showcase linked images with minimal markup. They can also be used for grids of photos or videos, image search results, products, portfolios, and other visual content.

Choose a consistent image size and meaningful alternative text so visitors can understand each item before selecting it.

Add captions and actions when they help

A thumbnail can hold more than an image. With additional markup, it can include a heading, short description, and buttons or links.

  • Heading: Identify the image, video, or resource clearly.
  • Short text: Provide only the context needed to help someone decide whether to open it.
  • Action: Use a specific label that describes what happens next.

Keep captions brief and make sure the action is relevant to the item shown.

Choose a grid that fits the content

Thumbnail layouts use grid column sizes to control item width. You can use matching sizes for a uniform gallery or mix sizes when some content needs more space.

For the clearest experience, avoid overcrowding a row and keep related items together.

Basic thumbnail structure

A simple linked-image thumbnail uses a list containing individual items. For thumbnails that include block-level content such as headings, descriptions, or buttons, use a container element around the image and caption.

<ul class="thumbnails">
  <li class="span4">
    <a href="#" class="thumbnail">
      <img src="image.jpg" alt="Descriptive image text">
    </a>
  </li>
</ul>

Planning checklist

  • Use images that are relevant to the linked destination.
  • Write descriptive alternative text rather than image dimensions.
  • Give each thumbnail a clear, distinct label.
  • Use concise supporting copy.
  • Ensure buttons and links state their purpose.
Back to Top
Product has been added to your cart
Compare (0)