<li data-id="id-1" class="portfolio-item" data-type="web"> 
        <a href="style/images/art/1.jpg" class="fancybox-media" rel="first-item" title="1st Caption">
          <div class="caption">Project Name</div>
          <img src="style/images/art/th1.jpg" alt=""/>
        </a> 
        
        <a href="style/images/art/2.jpg" class="fancybox-media hidden" rel="first-item" title="2nd Caption"></a> 
        <a href="style/images/art/3.jpg" class="fancybox-media hidden" rel="first-item" title="3rd Caption"></a> 
</li>