Image gallery effect

Hi, I just wonder how you would achieve this interaction/effect?

I made a sketch in photoshop now to illustrate what I want. I want an image gallery with a lot of images stacked on top of each other and when you click an image the image scales in front from its original position and the other images get faded in the background. When you press “X” or outside the image the image animates back to its original position.

Tnx in advance :slight_smile: