How to mask images

Hi,

for that effect you can use this example. Just here instead of gradient, you would add your background image.