Parents were outraged after the photo went viral on social media.