#212 Fixed media permalink on manage_media page