Hannah and the production crew descended on Aberdour to film some scenes ahead of its release in 2000 before returning to the capital to shoot more scenes
These images capture some of the buzz behind the cameras.
The images in Aberdour were taken by the Fife Free Press as the village enjoyed a moment in the spotlight in the company of a character still going strong to this day.
The images in Edinburgh come from the Scotsman archives.

5. John Hannah filming Rebus in Fife and Edinburgh
Behind the scenes filming in Aberdour Photo: Fife Free Press

6. John Hannah filming Rebus in Fife and Edinburgh
A break to sign autographs in Aberdour Photo: Fife Free Press

7. John Hannah filming Rebus in Fife and Edinburgh
Behind the scenes filming in Aberdour Photo: Fife Free Press

8. John Hannah filming Rebus in Fife and Edinburgh
John Hannah filming at the Triangle Club, West Pilton Bank, Edinburgh - racist graffiti had to be removed from the walls to avoid causing any offence to TV viewers. Photo: Bill Henry

