Metroflat Green DNN Responsive Theme
  • Home
  • Mega Menu
  • Pages
    • Left Side Pages
    • Right Side Pages
    • About Us
    • Meet the Team
    • Coming Soon
    • Pricing Table
    • Services
    • Career
    • FAQ
    • Our Office
    • 404 Page
    • Blank Pages
  • Shortcodes
    • Pane Layouts
      • Home Page Layouts
      • Left Side Layouts
      • Right Side Layouts
    • Bootstrap Componentes
      • Global settings
      • Typography
      • Button groups
      • Buttons
      • Code
      • Images
      • Pagination
      • Alerts
      • Tables
    • Accordion
    • Carousel
    • Portfolio
    • Testimonials
    • Font Awesome Icons
    • Media object
    • Dividers & Gaps
    • Highlighted Text
    • Teasers
    • Promo Box
    • Video Shortcode
  • Sliders
    • Responsive Nivo Slider
    • Responsive Flex Slider
    • Responsive Bx Slider
  • Containers
  • Contact Us
Go to...
  • Home
  • Mega Menu
  • Pages
    • Left Side Pages
    • Right Side Pages
    • About Us
    • Meet the Team
    • Coming Soon
    • Pricing Table
    • Services
    • Career
    • FAQ
    • Our Office
    • 404 Page
    • Blank Pages
  • Shortcodes
    • Pane Layouts
      • Home Page Layouts
      • Left Side Layouts
      • Right Side Layouts
    • Bootstrap Componentes
      • Global settings
      • Typography
      • Button groups
      • Buttons
      • Code
      • Images
      • Pagination
      • Alerts
      • Tables
    • Accordion
    • Carousel
    • Portfolio
    • Testimonials
    • Font Awesome Icons
    • Media object
    • Dividers & Gaps
    • Highlighted Text
    • Teasers
    • Promo Box
    • Video Shortcode
  • Sliders
    • Responsive Nivo Slider
    • Responsive Flex Slider
    • Responsive Bx Slider
  • Containers
  • Contact Us

Select the search type
  • Site
  • Web
Search
Images
Shortcodes / Bootstrap Componentes / Images

Images

Add classes to an <img> element to easily style images in any project.

PostA PostB PostC
<img src="/Portals/_default/..." class="img-rounded">
<img src="/Portals/_default/..." class="img-circle">
<img src="/Portals/_default/..." class="img-polaroid">

Heads up! .img-rounded and .img-circle do not work in IE7-8 due to lack of border-radius support.

Thumbnails Grids of images, videos, text, and more

Default thumbnails

By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.

Highly customizable

With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

Why use thumbnails

Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.

Simple, flexible markup

Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.

Uses grid column sizes

Lastly, the thumbnails component uses existing grid system classes—like .col-md-2 or .col-md-3—for control of thumbnail dimensions.

Markup

As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup for linked images:

<ul class="thumbnails">  <li class="col-md-4">    <a href="#" class="thumbnail">      <img data-src="/portals/7/holder.js/300x200" alt="">    </a>  </li>  ...</ul>

For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <a> for a <div> like so:

<ul class="thumbnails">  <li class="col-md-4">    <div class="thumbnail">      <img data-src="/portals/7/holder.js/300x200" alt="">      <h3>Thumbnail label</h3>      <p>Thumbnail caption...</p>    </div>  </li>  ...</ul>
Copyright 2025 by DNN Corp : Terms Of Use : Privacy Statement
  • Register
Login