Press OK.

In the Layer palette, click the Eye icon of the shape layer since we don’t need it, and click the Eye icon of Layer 1 and click Layer 1 to select it.

Go to Select>Inverse and press Backspace to delete the pixels outside of the television screen on the beach layer.

Change the layer blending mode of Layer 1 to Overlay.

This overlays the beach image onto the television screen, but the beach photo’s angle needs to protrude a little bit in the middle to fit the television screen.

With Layer 1 still selected in the layers palette, go to Filter>Distort>Lens Correction. Set the Remove Distortion to about -14, or until it adds some barrel distortion to fit the screen.

The problem here is that the beach is now moved outside of the screen area. Click the Eye icon of the shape from earlier and repeat steps 11-14 to remove the area around it again. Now we have an image that is seamlessly blended with another, using both the overlay blending mode and adding some lens distortion to match the background. Be sure to remove any pixels that on top of the area outside of the screen by selecting it with the polygonal lasso tool and press Backspace to remove them.
