helper function for grabbing a particular media url