"Castles tend to house their portraits in a singular room so the people within the house can have privacy or just to avoid a relative they didn't like, at Hogwarts, the Headmaster uses the portraits as a spy network, which before you ask means that he knows basically everything that happens within Castle."