Made image urls relative to document