You can make a photo frame by increasing the canvas size and filling it with a color.
You can also use one of the prerecorded actions to make a styled photo frame. It’s best to do this on a copy of your photo.
The action plays, creating the frame around your photo.