docs: def create_images_from_urls_in_content(self, body):
          """create Image objects and transfer image files to media root"""
          soup = BeautifulSoup(body, "html5lib")
          for img in soup.findAll('img'):
              old_url = img['src']
              if 'width' in img:
                  width = img['width']
              if 'height' in img:
                  height = img['height']
              else:
                  width = 100
                  height = 100
              path, file_ = os.path.split(img['src'])
              if not img['src']:
                  continue  # Blank image
              if img['src'].startswith('data:'):
                  continue # Embedded image
              try:
                  remote_image = urllib.request.urlretrieve(
                      self.prepare_url(img['src']))
              except (urllib.error.HTTPError,
                      urllib.error.URLError,
                      UnicodeEncodeError,
                      ValueError):
                  print("Unable to import " + img['src'])
                  continue
              image = Image(title=file_, width=width, height=height)
              try:
                  image.file.save(file_, File(open(remote_image[0], 'rb')))
                  image.save()
                  new_url = image.file.url
                  body = body.replace(old_url, new_url)
                  body = self.convert_html_entities(body)
              except TypeError:
                  print("Unable to import image {}".format(remote_image[0]))
          return body