Photography was the art of producing images on surfaces that are photosensitive, known as photographs, photographic records, or pictures.
Several photographs, including the portrait of a woman were displayed on the wall of Edith Keeler's room at the 21st Street Mission in 1930. (TOS: "The City on the Edge of Forever")
The United States Army took several photographs of Quark's Treasure after it crash landed in Roswell, New Mexico in 1947. (DS9: "Little Green Men")
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 1996, Henry Starling kept a photograph of himself and President Richard Nixon in his office. (VOY: "Future's End")
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")
In 2151, Doctor Phlox explained to the Novan Nadet what she was seeing on the monitors in sickbay – photos of her inside which tell Phlox what kind of treatment she required. (ENT: "Terra Nova")
In 2152, several photographs were taken by Commander Trip Tucker while visiting, with Ensign Hoshi Sato, chambers of some alien ruins on a 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")
Captain Jonathan Archer kept a photograph of three Human men on the wall of his ready room. (ENT: "Terra Nova", "The Andorian Incident", "Breaking the Ice", "Fortunate Son", "Regeneration") In his quarters, he kept more photographs on his desk. (ENT: "Fortunate Son")
In 2161, Thy'lek Shran gave T'Pol a photograph of a Tenebian 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...")
Three playing cards were turned into photographs of Yeoman Janice Rand by Charles Evans in 2266. (TOS: "Charlie X")
These were originally TOS promotional photos of actress Grace Lee Whitney.
Several photographs were displayed on the walls of the medical laboratory on Miri in the same year. (TOS: "Miri")
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")
On Ekos the same year, a large photograph of John Gill, the Führer, was present in a news broadcast studio. (TOS: "Patterns of Force")
James T. Kirk had a photograph of his late son, David Marcus in his quarters aboard the USS Enterprise-A in 2293. (Star Trek VI: The Undiscovered Country)
Jean-Luc Picard kept an album of family photographs. (Star Trek Generations)
A photograph of the original USS Enterprise command crew ca. 2293 was displayed on the wall of James T. Kirk's kitchen in the Nexus. (Star Trek Generations)
This picture was actually a Star Trek VI: The Undiscovered Country promotional cast photo.
In 2370, Deanna Troi mentioned to William T. Riker that she remembered seeing a scope like the one on the bridge of Enterprise in a photograph. (ENT: "These Are the Voyages...")
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 2375, Hector Ilario, Greta Vanderweg and Zim Brott were targeted by Chu'lak because there were photographs of people laughing in their quarters. (DS9: "Field of Fire")
In an alternate timeline where Tuvok had been struck with a degenerative neurological disease, before leaving on a dangerous mission, Admiral Kathryn Janeway left a photograph of USS Voyager's command crew to remember her by, in case she didn't return. (VOY: "Endgame")
This picture was actually the Season 6 promotional cast photo.
Will Riker and his wife Deanna Troi displayed photos and drawings in their house on Nepenthe in 2399. (PIC: "Nepenthe")