Random bg image under mask effect

Anyone know how to do this. I have a mask that is ok, and images in a directory gfx. I have the effect looking ok, but I now need random images from a directory or even my library. Can anyone help me out with this.

Please remember this is under a mask.

Examples would be superb.

Cheers

Trevor Saint