                 }
             },
         */
-        operationToken = SDWebImageDownloader.shared().downloadImage(with: url, options: [SDWebImageDownloaderOptions.useNSURLCache, SDWebImageDownloaderOptions.continueInBackground], progress: nil) { [weak self] (image, _, error, finish) in
+        operation = SDWebImageManager.shared().loadImage(with: url, options: [], progress: nil) { [weak self] (image, _, error, cacheType, finish, imageUrl) in
             guard let wself = self else { return }
 
             DispatchQueue.main.async {

    private var assetTargetSize = CGSize.zero
    
    private var loadingInProgress = false
    private var operationToken: SDWebImageDownloadToken?
    private var assetRequestID = PHInvalidImageRequestID
    
    //MARK: - Init

    }
    
    func cancelDownload() {
        self.operation?.cancel()
    }

    // Load from local file
