fix relative paths on images