fix relative paths of images