code: def resize_lazy(image, width=None, height=None, crop=False, force=False,
                  namespace="resized", storage=default_storage,
                  as_url=False):
      
      # First normalize params to determine which file to get
      width, height, crop = _normalize_params(image, width, height, crop)
      # Fetch the name of the resized image so i can test it if exists
      name = _get_resized_name(image, width, height, crop, namespace)
  
      # Fetch storage if an image has a specific storage
      try:
          storage = image.storage
      except AttributeError:
          pass
  
      # Test if exists or force
      if force or not storage.exists(name):
          resized_image = None
          try:
              resized_image = resize(image, width, height, crop)
              name = storage.save(name, resized_image)
          finally:
              if resized_image is not None:
                  resized_image.close()
  
      if as_url:
          return storage.url(name)
  
      return name
docs: Returns the name of the resized file. Returns the url if as_url is True