Gallery types

Hi, who could tell me how to make these types of galleries, I tried but I still do not see how to do it.

The idea is that they can click on the pictures and girls appearing on the main

I’d appreciate your help

This video from @Eldar shows how to build slide shows. It should help you understand the process.