Quicksand and a lightbox(the lightbox wont load the images afther using quicksand)

Quicksand and a lightbox(the lightbox wont load the images afther using quicksand)

I am working with the plugin called quicksand, all things work but when ik use the quicksand the ligthbox works but only the images wont load(in the beginning the images will load)

Tha basic plugin code below, as you can see theres and enhancement part which reloads all other jquery stuff used on the section.
  1.       $('.sort-by-cat').quicksand($filteredData, {
            duration: 500,
            easing: 'easeInOutQuad',
            useScaling: true,
            adjustHeight: false,
            enhancement: function() {
                lightbox();
     
    }








     basic html structure
  1. <li>
          <img src="images/media/dummy1.jpg" alt="" />
          <span class="ctrls">
                <a href="images/media/dummy-big1.jpg" title="" class="pirobox_media1 view">view</a>
                <a href="#" title="" class="edit">edit</a>
                  <a href="javascript:void(null);" title="" class="delete-media">Delete</a>                              </span>
    </li>