A major exhibition featuring Ian Rankin's fictional detective Inspector Rebus over the last 20 years is to open in Edinburgh.
Ian Rankin has closed the book on his character Inspector Rebus
The National Library of Scotland has teamed up with the police and publisher Orion Books for 'Crime Scene Edinburgh: 20 Years of Rankin and Rebus'.
It follows the recent release of the final Rebus novel, Exit Music.
Opening on Wednesday the exhibition also shows how Mr Rankin and Rebus have changed with the times.
Visitors will learn about the author's previous jobs, including grape picker and chicken farmer, and be given an insight into his short-lived foray into the music industry, love of Raith Rovers, and passion for The Oxford Bar.
The exhibition tells the story of the development of Mr Rankin the creator, Rebus the creation and of Edinburgh, which he has described as being the central character in his books.
It explores the formative influences on Mr Rankin, takes in other tales from Edinburgh's dark underbelly and looks at the thriving contemporary Scottish crime-writing scene.
Visitors will have the chance to do some sleuthing of their own as clues throughout the exhibition lead to the culprit in the National Library's very own murder mystery.
Knots & Crosses
Martyn Wade, of the National Library of Scotland, said: "Ian Rankin has been a good friend to the library throughout his career and we're both honoured and delighted to be staging this exhibition.
"The mix of Ian's own personal memorabilia, material from the library's collections and a wonderful assortment of items from Lothian and Borders Police have allowed us to chart Ian's career and influences, as well as those of Inspector Rebus.
"There's something here for everyone, from committed Rebus fans to those simply interested in learning a little more about Edinburgh's darker side."
Anthony Keates, marketing director at Orion Books, said: "The venue for this exhibition is particularly appropriate as Ian wrote much of the first Inspector Rebus novel, Knots & Crosses, within the reading rooms of the National Library."