Open gallery and store in current page

Hello I am a designer
I have no knowledge of code so I have some question to you guys
I want to make when link click open just gallery and store in current page
It seems like just popup but header and footer should be seen.
Which code should I have to put?
Thank you so much