Generate a realistic portrait of James O'Neill, a middle-aged man with a dignified expression, wearing formal attire typical of the late 19th or early 20th century, considering he was a notable figure during that time.