Development of a photoreceptor, a cell that responds to incident electromagnetic radiation, particularly visible light.