I came across an unusual to me usage of preposition 'of':
When criticisms were made of the school's performance, the parents' group countered with details of its exam results.
This photograph was taken of them in the airport in Miami.
I'd though that in such cases we use 'of' directly after the noun as I wrote below:
When criticisms of the school's performance were made, the parents' group countered with details of its exam results.
This photograph of them was taken in the airport in Miami.
Can someone show the grammar rule I have missed?