Made image locations relative.