Two new dining halls were dedicated to former pupils as Morley Academy held its September Fair.
The Wharton Hall and The Thompson Hall were named in memory of late student George Wharton and Aaron Thompson.
Artist Jenny Makin, of the Gorse Academies Trust, which Morley is part of, painted portraits of the youngsters which will permanently be displayed in the halls.
The fair, on September 24, featured games, stalls, rides and activities.
It supported three causes, which Principal Leanne Griffiths said are close to the school’s heart.
A total of £3619 was raised for the Yorkshire Air Ambulance in memory of George, Epilepsy Action in memory of Aaron and the renovation of performance facilities at the academy.
Mrs Griffiths said: “It was a wonderful, poignant event and we are very grateful to everyone who helped make this event possible.”
Morley and Outwood MP Andrea Jenkyns helped to declare the fair open.
She said: “Opening the Morley Academy September Fair was an incredibly moving experience.
“I was amazed at the strength, courage and fortitude of the families of George Wharton and Aaron Thompson as two dining halls were opened in their memory.
“George and Aaron sadly passed away in 2015 and 2014 respectively, yet their beautiful portraits will ensure that they are remembered and continue to inspire future generations of children.”