Imagine it were you in the defendant's chair, totally innocent of the crime, and you just watched the jury become turned against you without a shred of proof that it was you who committed that heinous act.
IF the defendant is the one who did it, I'm all for some very rough punishment... but he might be innocent, so let's make sure he has a fair chance to prove it, if he can. I think the judge probably acted properly (and the reporter is likely sensationalizing the story to get more papers sold).
He pled innocent by reason of insanity, an admission of committing the act but with extenuating circumstances. It seems to me that these pictures may work in his favor.