I'm trying to create a list on the frontend of my site of all media items that the current user has uploaded.
It seems like the way to do this would be to loop through and compare the ID of the current author with the ID of the author of the media item and then only display the items when a match is found.
But, I can't figure out how to get the author of the media item. Is there a function for this? Does someone have a better (easier) way to do this?