Fixed retrieving media-id in giel.php