def getPublicDownloadUrl(self, image_path):
    return ('%s/%s' % (re.sub('([^/])/*$', '\\1', self.storageurl), re.sub('^/*([^/])', '\\1', image_path)))
def getPublicDownloadUrl(self, image_path):
    return ('%s/%s' % (re.sub('([^/])/*$', '\\1', self.storageurl), re.sub('^/*([^/])', '\\1', image_path)))