Photos of a brother-in-law pranking the groom by greeting him in a wedding dress are going viral on Facebook.