You may want to check this: How do I query all posts of one type across my multisite installation?
Just change post to media and you’ll be fine.
You may want to check this: How do I query all posts of one type across my multisite installation?
Just change post to media and you’ll be fine.