With this markup:
<div class="media"> <a class="pull-left" href="#"> <img class="media-object" src="http://placehold.it/64x64" /> <span class="badge badge-success pull-right">2</span> </a> <div class="media-body"> <h4 class="media-heading">Media heading</h4> My content </div> </div>
You have an icon in the lower right corner of the image, but at the bottom. If you want this a bit compared to the image, add this css:
.media img+span.badge { position: relative; top: -8px; left: 8px; }
See this script: http://jsfiddle.net/d7kXX/
But obviously you can place it wherever you want. If you want this to be complete, try the following:
http://jsfiddle.net/6cME7/
FYI. If you resize, this will break the size of the icon. I think this gives a general idea, but I think that it is not fully functional.
source share