NOTE: The Press Council upheld a complaint about this article. Read the full adjudication here .

A Catholic school teacher in Perth copped a harsh lesson in social media after an online bungle led to the loss of her job.

An allegedly controversial image, originally shared on the the online photo sharing site Instagram caused problems for the school after it was highlighted on Radio 6PR's Rumour File on Friday.

But the school's principal initially declined to speak about the issue with Fairfax Media.