But if we instead quibble over the term "photograph," I'd argue that a photograph of a silhouette of a mountain is absolutely a photograph of a mountain. Similarly, I'd argue that X-ray photography is indeed photography.
Lets take it to its farthest extent: can you take a picture of a black hole?