He was the author of Memoir of Thomas Thomson, Advocate (1854), Scotland in the Middle Ages (1860), Sketches of Early Scottish History (1861), Lectures on Scotch Legal Antiquities (1872) and Reminiscences of Scottish Life and Character (1875, co-written with Dean Ramsay)).
Photographic works include "A Tour: The Coast of Spain" (an album of 1857); Midcalder Church (1856); Dunrobin Castle (1856); and Elgin Cathedral (1856) [REF].