Great work! This thing is awesome. I have been looking for a while for something like this. I have one question. I need to take it a bit further. I need to add other data and add an on click event to each thumbnail to call a function. Where would I do that?