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 2152, several photographs were taken by Commander Charles Tucker III while visiting, with Ensign Hoshi Sato, chambers of some alien ruins on an unnamed planet which was devoid of life. In an hallucination Sato thereafter experienced, an illusory T'Pol mentioned to her that Captain Archer had decided to destroy the photographs, in exchange for aliens who apparently lived on the planet returning Tucker and Ensign Travis Mayweather, both of whom had supposedly been taken hostage by the aliens. (ENT: "Vanishing Point")
In 2161, Shran gave T'Pol a photograph of a Teneebian amethyst. T'Pol noted to Shran, "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")