update img reference to use baseurl