give media_url a relative path