In this technique, you'll use the Rectangular Marquee and Polygonal Lasso tools to create selections that you'll fill with black, and then apply filters.
Press Command-J (PC: Control-J) to duplicate the Background layer. Then use the Image>Canvas Size command, or press Command-Option-C (PC: Control-Alt-C), to add 2 inches of canvas (with the Relative checkbox turned on) to both the width and height. Click on the Create a New Layer icon at the bottom of the Layers palette to add a blank layer above the photo layer. As an optional step, make sure the copied photo layer is active, press-and-hold the Command key (PC: Control key), and click on the Create a New Layer icon to add a layer below the copied photo layer that you can fill with whatever color you want to use as the background. Here I pressed D to set the Foreground and Background to the default colors and then pressed Command-Delete (PC: Control-Backspace) to fill the new layer with white.
Using the Rectangular Marquee tool (M), draw a selection across the top edge of your photo. If you haven't already, press D to set your Foreground color to black. Press Option-Delete (PC: Alt-Backspace) to fill your selection with black.
Continue creating shapes on all four sides of your photo and fill them with black. Use the Polygonal Lasso tool (press Shift-L until you get it) to create a more random shape. Use the Rectangular Marquee tool while pressing-and-holding the Shift key to add to the selection, or pressing-and-holding the Option key (PC: Alt key) to remove part of the selection.
Now you'll apply one or more filters to the border layer. In this example, from the Filter menu, I used Texture>Patchwork and Artistic>Paint Daubs.
In this variation, I pressed Command-J (PC: Control-J) to duplicate the border layer. I then chose Filter>Blur and applied a slight Gaussian Blur to the original border layer. Then I changed the blend mode of the duplicated border layer to Linear Dodge.
Variation 1: Blurred border layer copy with Linear Dodge
Here, I clicked on the Add a Layer Style icon at the bottom of the Layers palette and added a Color Overlay layer style to the original border layer (with a color sampled from the image and the Blend Mode changed to Color Dodge). Then I changed the blend mode of the duplicated border layer to Vivid Light.