Putting a wave edge on an image

I’ve been playing around with PS CS2 and can’t figure out how to get this effect. Here is a picture of what I’m trying to accomplish.