Pupils at Cuiken Primary, Penicuik, got on their bikes and scooters to take part in the recent Big Pedal campaign.
Organised by Sustrans, the initiative aims to encourage children to be active and cycle or scoot to school.
Depute head teacher Pauline McKay said Cuiken had recently become a cycle-friendly school.
“We actively encourage children to walk, cycle and scoot to school. Cuiken has participated in the Big Pedal twice already and this year we have decided to compete in the whole event.”