A student of St. Xavier's University, Kolkata, and his parents were reportedly deeply offended looking at a professor's photos in a swimsuit. This eventually resulted in the professor having to resign.
Assuming that college-goers are adults, here's how to save yourself from getting offended the next time.
1) Your professor gets paid to impart his/her knowledge to you. Consume as much as you can. Learn. Grow. They don't exist to live up to YOUR idea of how an ideal professor should act/dress/talk.
2) DO NOT BE A LOWLIFE. Do not intrude into your professor's personal space, including their social media, unless they have consented to it. Outside the school/college, they are individuals with unabridged control over their own lives, and you are not a part of it. You get to have zero opinions.
3) Don't raise crappy arguments that follow the lines of "but teachers are idols for students". You indulge in a thousand bad habits that your teacher didn't give you lessons on.
4) Your teachers/ professors didn't ask to be on the pedestal you've put them on. They are human beings and they are entitled to live how they wish to, irrespective of what you see fit for them.
5) Grow a spine. If your parents have tried "shielding" you from such "gross indecency", I hope you get equally appalled at the sexism and objectification that our popular culture has normalised, that you do not use any slangs whatsoever that are derogatory to women, and you always raise your voice against the casual misogyny floating all around.
If you are a parent who has raised a son who gets offended to see a grown-up woman in an attire of her choice, please consider yourself a miserable failure. You've failed to teach your son the true meanings of boundary, free will, and body ownership.
And of course, basic decency.