Photography is the art of producing images on surfaces that are photosensitive, known as photographs.
Spock considered the images taken of the USS Enterprise from Captain John Christopher's F-104 Starfighter, in 1969, to be "poor photography." During the same time, several photographs of airplanes were displayed on walls at the Omaha air force base. (TOS: "Tomorrow is Yesterday")
In 2161, Shran gave T'Pol a photograph of a Teneebian amethyst. T'Pol noted to Shran that "the photograph you gave us had poor resolution, but I'm confident our replication will look authentic." (ENT: "These Are the Voyages...")
On Sigma Iotia II in 2268, a photograph of Bela Okmyx was used as a poster on the streets of his territory. Rival boss Jojo Krako had one of these in his office, used as target practicing with darts. (TOS: "A Piece of the Action")
The Dominion had a photograph of Benjamin Sisko in their database. When Kilana met Sisko in 2373, she remarked that "your photograph doesn't do you justice. You're quite striking in person". (DS9: "The Ship")
In an alternate timeline where Tuvok had been struck with a degenerative neurological disease, before leaving on a dangerous mission, Admiral Janeway left a photograph of USS Voyager's command crew (including the two of them) to remember her by, in case she didn't return. (VOY: "Endgame")
Photographs were also used in numerous newspapers and magazines in various cultures. On Earth in 1930, a portrait of Edith Keeler was used in a news headline, announcing her death. The Gallian, a magazine on planet 892-IV also featured several photographs in 2268. (TOS: "The City on the Edge of Forever", "Bread and Circuses")