the pictures shooting on the lot were the best years of our lives , with myrna loy and fredric march ; saratoga trunk , with gary cooper and ingrid bergman ; and the secret life of walter mitty , with danny kaye and virginia mayo .