There are a few ways to fade the edges of an image in Photoshop. One way is to use the “fade” command. Another way is to use the “mask” command.

How to Blur Edges in Photoshop

Check out How To Record Actions In Photoshop?