During their rule in the 1990s, Afghanistan’s hard-line Taliban banned photography, television, and the Internet by declaring that taking pictures of living things was forbidden in Islam.