The incoming president of the American Academy of Pediatrics received the pictures from a social worker