Photo Gallery fading

Hello friends, I’ve had this problem for quite some time now and I hope you’ll be able to help me:

I’ve been trying to create an image gallery run exclusively by thumbnails, and when a thumbnail is clicked I need the new photo to fade in on top of the photo that was already in place. I’ve already taken a look at the photo gallery tutorials but obviously they don’t cover a problem this specific.

Thanks in advance!