Most stock photography websites pay you a royalty for every download on their platform. Another option is to launch your own photography website and sell images directly to people, which is only viable if you have the resources to invest in marketing.