fix image url to be relative