I don't believe they are necessary and I don't believe they are wrong. The point is more rather you consider where you saw the picture (On the Internet, in his father's home, in the school yearbook) is important or not. If it's not, then leave them out.
No one will think that the "in which" refers back to the Internet. It clearly refers to the picture.