fix referenced image locations