Same thought. I remember that I've also watched something similar before wherein an old man saved some photos of his late wife. He can then relive their memory during the time it was taken by "entering the photo". I forgot if it was unlimited or he had to tear the photo to use his power.
*Can't fully recall if it was an anime series or film.
This is kinda far from the concept since this doesn't really include time travel, but 'Jumper' a 2008 film, enables people with the 'jump' ability to teleport/jump into any place that they can see. They were putting up photos of places all around the world for them to teleport/jump to instantly.