How did people get picures of themselves before there were cameras?

They had their portraits painted.