change image link path to relative