This ruling in Islam came about due to certain incidents that happened to our predecessors. It was a command by our Prophet that like any other command is either followed or not followed by Muslims today. But like I said we do have family pics, (but some Muslims even keep away from that as well)) we just don't display them around our houses.