He took a photo。 In the photo, he has a piece of paper in his hand. It reads "I love you".
He took a photo of himself. In the photo, he was holding a sheet of paper, on which were the words "I love you".