This post is in incredibly poor taste.
The trial date was set before Trump's inauguration date was set. That he pled guilty at a pretrial hearing was unexpected. There really isn’t a full presence in court for such hearings because they're something of a nothing.
No conspiracy there.
Mug shots aren't released until guilt is proven precisely because they're photographs taken of people in situations of extreme stress so typically they won't exactly look tip top.
The picture that was circulated at the time was taken from social media. It was a group photo taken in school. By all accounts his family didn't really use social media so there wasn't really anything else for the media to find and use.
He isn't an Islamic extremist. He isn't even Muslim. He's a black Christian.
People did notice the red flags. He was referred to Prevent multiple times because of his fixation with violence. By all accounts there was involvement from the authorities at various points preceeding his crime too. There is absolutely no suggestion whatsoever that his home was anything other than stable and loving. His elder brother thrived, was seemingly a very intelligent high achiever who was popular at school.
Whether he has mental health issues I do not know. I'd assume his behaviour isn't exactly indicative of somebody mentally well, but I'm not an expert.
And as for the riots, there is no excuse for the violence portrayed by people who did not know or understand the facts, but merely used it as a vehicle to push their agenda against foreign people and those with brown skin.