Need help creating a picture that when selected will show diff pic

Recently my friend sent me an e-mail that contains a picture that when it’s selected it’ll show a totally different picture. I’m wondering how can it be done with photoshop and can someone teach me how to do it? Thanks!

There was a thread on this a while back.