I might want to add the media portrayal as an information attribute to each picture of the exhibition. The wide range of various answers favor the answer for duplicate the entire code from media.php to functions.php and transform it there. However, isn’t there a more clever way?
It’s approach to a lot code duplication to transform one single line of code!