And Otto Antonius , director of the Vienna zoo from 1924 to 1945 , commissioned a painting called '' The Extermination of the Quagga '' -- in which men on horseback fire as donkeylike heads rear up before a fusillade of bullets -- as a reminder of the tragedy of the animal 's elimination .