fix relative media links