Fix image upload display in case base_url is set.