Its a photoshop job. You submit your picture to a site and the computer runs an automated script in adobe that plasters the photo you selected onto a pre-made background.

They seem to be all the rage lately on facebook for people's profile photos.