In the ending of The Shining,
The camera slowly zooms into a photo and closes into a person who resembles Jack Nicholson (or is it him?).
What does this scene depict? How does it relate to the movie?
Per director Stanley Kubrick:
How does it relate to the movie?
It sort of echoes the "You’ve always been the caretaker." line earlier in the film, which suggests something along the lines that his soul is perpetually stuck at/destined to end up at that hotel.
This is a big question to a very deep and complicated film!
Kubrick mentions how it 'suggests' the reincarnation of Jack, he does not say that this suggestion is correct.
Notice how the surrounding furniture is covered in white sheets and the sign for the Goldroom is on the other side to the previous position. It would imply some kind of time shift or something.
How it relates is another deep question. It might just be a collection of souls which the hotel has taken (this photo was not present when we saw the the wall earlier).
Google collative learning by Rob Ager for a detailed analysis of this film. It is very deep!