A daughter who hatched a "revenge" plot by posting naked photos of her father's lover online has been jailed for three years.