The structure of the radio galaxy NGC 1265