studiouz, CSS не писал все в HTML-е http://i.imgur.com/cZpyuph.png
HTML (+/-)
<div id="gallery">
<a href="#">
<span style="
color: #fff; font-size: 16px; position: absolute; left: 0; bottom: 0; z-index: 1; padding: 0; background: rgba(0, 0, 0, 0.6); width: 100%; height: 32px; text-align: center; line-height: 32px;
">Все фотки</span>
<img src="http://cs618426.vk.me/v618426909/186b4/m35oxQoAOJ8.jpg" class="huerotate" style="
width: 240px;
">
<span style="
color: #FFFFFF;
font-size: 14px; position: absolute;
right: 0;
top: 0; z-index: 1;
padding: 0 18px;
text-align: right;
background: url(http://t-v.te.ua/media/icons/camera.png) no-repeat;
">106</span>
</a>
</div>