Two of Scotland's best-loved attractions have reached record levels of visitors thanks to holidaymakers staying at home, researchers say.

Edinburgh Castle and the National Museum of Scotland brought in more than two million people through their doors in 2017 - the first time any Scottish attraction has reached these numbers.

Industry experts at Glasgow Caledonian University have put part of the rise in popularity down to a weak pound and more Britons taking staycations - shunning trips abroad in favour of holidays in the UK.

Professor John Lennon, director of the university's Moffat Centre, said: "Two Scottish visitor attractions welcoming more than two million visitors for the first time is a sure sign of the enduring appeal and strength of the sector.

"As a destination, Scotland continues to benefit from the lower value of sterling against the euro and the US dollar, ensuring tourists receive value for money as well as a high-quality experience.

"Demand has been further buoyed by a resurgent domestic staycation market as Britain faces economic uncertainty and the reduced purchasing power of sterling."

The annual survey of more than 700 of the country's paid and free attractions revealed tourism across Scotland was up by 5% in 2017.

It found the museum and castle welcomed 2,165,601 and 2,063,709 respectively during 2017, while a further five cultural destinations brought in more than one million visitors.

These were the Scottish National Gallery, West Dunbartonshire's Loch Lomond Shores, Glasgow's Riverside Museum, Kelvingrove Art Gallery and Museum and St. Giles' Cathedral - which are all free to visit.

Among those joining Edinburgh Castle in the most popular paid-for attractions are Edinburgh Bus Tours, Stirling Castle, Edinburgh Zoo and Urquhart Castle.

VisitScotland chief executive Malcolm Roughead said: "It's also important to remember the benefits these visitors bring.

"Tourism is more than a holiday experience - it is integral to sustaining communities across Scotland by generating income, creating jobs and stimulating social change."