I did a quick Googling. Turns out that a bunch of them were civilians, one of them was a journalist and friend of the British commander. They were tied up, denied water and their mouths filled with dust, among other tortures.
Lord Elgin ordered the burning as vengeance for it.
Wait, what?
The Chinese weren't entirely the victims?
(Just seems a little out of place, given the rest of the article.)