I am using this example of quicksand jQuery.
Making a Beautiful HTML5 Portfolio
Now, i want to open light box when clicking on image. for this i am using fan
Reusing an id is invalid. Try either
Using a different ID for the a in the ul
a
ul
Using a different mechanism for referencing the element - e.g. use class