Place the picture in xd. Draw a rectangle on the artboard. (This will maintain the cropped size of img) Select both of them, right click, mask with shape. Adjust the picture to your needs.