They are elegant because they are probably from the local bourgeoisie. Go out of the city center and I would bet clothes would look way worse than that. It was probably a minority who could afford to dress like that.
Or who could afford a $15 camera like that. ($400 in today's money based on another comment)