         }
 
         if let url = URL(string: named), url.host != nil {
-            self.sd_setImage(with: url) { [weak self] image, _, cacheType, _ in
+            sd_setImage(with: url) { [weak self] image, _, cacheType, _ in
                 guard let image = image else {
                     DispatchQueue.main.async {
                         callback?(nil)

                }
            }
        }
    }
}


            }
        } else {
            DispatchQueue.global(qos: .userInteractive).async { [weak self] in
                guard let strongSelf = self, let image = strongSelf.imageFromLocalString(named: named, in: bundle) else {
                    DispatchQueue.main.async {
                        callback?(nil)
                    }
                    return
                }

                DispatchQueue.main.async { [weak self] in
                    guard let strongSelf = self else {
                        return
                    }

                    defer { callback?(image) }

                    if alwaysAnimate {
