A man from West Bromwich has been jailed after making hundreds of indecent photographs of children and having sexualised online conversations with children.