Fading a picture

Does anybody know how to get a picture with a transparent background have a gradient that starts off with the picture on the right and then it gradually fades to the transparent background. I tried using a gradient, but it only fades from the picture on the left to a white on the right? Any suggestions?