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.

. John Hannah filming Rebus in Fife and Edinburgh
John Hannah filming at Salisbury Crags in Edinburgh in December 2000 Photo: Jon Savage

. John Hannah filming Rebus in Fife and Edinburgh
John Hannah talking to the production team with Aberdour's shore in the background Photo: Fife Free Press

. John Hannah filming Rebus in Fife and Edinburgh
Taking a break between filming scenes at Salisbury Crags Photo: Jon Savage

1. John Hannah filming Rebus in Fife and Edinburgh
John Hannah talking to the production team with Aberdour's shore in the background Photo: Fife Free Press

2. John Hannah filming Rebus in Fife and Edinburgh
Taking a break between filming scenes at Salisbury Crags Photo: Jon Savage

3. John Hannah filming Rebus in Fife and Edinburgh
A break between scenes at Salisbury Crags Photo: JON SAVAGE

4. John Hannah filming Rebus in Fife and Edinburgh
John Hannah filming Rebus in Aberdour Photo: Fife Free Press