Use relative paths for ref images and copy refs.