Why do People put Pictures of a Person who Committed Suicide Online?

Because.
A picture is like a story.
They upload them usually with their story.
So Yes, They upload photos of them.
But they're dead, They won't mind.