make photo insertion with the second reference image