code: def remove_uri(self, image):
          '''remove_image_uri will return just the image name.
             this will also remove all spaces from the uri.
          '''
          image = image or ''
          uri = self.get_uri(image) or ''
          image = image.replace('%s://' %uri,'', 1)
          return image.strip('-').rstrip('/'f remove_uri(self, image):
          '''remove_image_uri will return just the image name.
             this will also remove all spaces from the uri.
          '''
          image = image or ''
          uri = self.get_uri(image) or ''
          image = image.replace('%s://' %uri,'', 1)
          return image.strip('-').rstrip('/')
docs: remove_image_uri will return just the image name.
             this will also remove all spaces from the uri.