I know you can use Script-Fu to create a frame around an image, but it's also good to know a manual method to achieve this.
Create a new transparent layer over the top of the layer you want to frame. On the newest transparent layer create the frame for your new photo. This frame is the equivalent of the white border around a printed photograph. In the GIMP:
- Select a portion of the main subject of your photo and as much background as you wish to include.
- Fill the selection with white.
- Reduce the selection (Select > Shrink) by 20-50 pixels. Experiment to get a frame width you like.
- Cut out the center of the frame (Ctrl-X in Linux or Windows).