The views of more than 450 children have helped shape a new national strategy for school libraries.
The Scottish Government said the strategy, aimed at boosting literacy and attainment, is the first of its kind in the UK.
Developed in partnership with local authority body Cosla, more than 30 schools were visited by those drawing up the plan to hear pupils’ experiences.
The strategy aims to ensure every pupil from early years to secondary has access to a “dynamic” school library.
Deputy First Minister and Education Secretary John Swinney said: “This strategy seeks to make libraries the vibrant hub and epicentre of our schools, promoting an appreciation of literature, an understanding of information literacy and a place of contact, friendship, dialogue and reassurance.
“I am pleased to endorse this strategy and look forward to working with stakeholders, headteachers and library staff to implement it over the next five years.”
Stephen McCabe, Cosla spokesman for children and young people, said: “The strategy will be a valuable blueprint for all of those involved in developing and delivering school library services to ensure all children and young people get the best from their education.”