From famous locations to the simplest home vegetable garden, from worlds imagined by artists to vintage family snapshots, The Photographer in the Garden traces the garden’s rich history in photography