diff --git a/SDWebImageDownloader.m b/SDWebImageDownloader.m index bded6aec..bd1778a2 100644 --- a/SDWebImageDownloader.m +++ b/SDWebImageDownloader.m @@ -126,7 +126,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot if ([delegate respondsToSelector:@selector(imageDownloader:didFinishWithImage:)]) { CGFloat scale = 1.0; - NSString *lastPathComponent = url.lastPathComponent; + NSString *lastPathComponent = url.absoluteString; if ([lastPathComponent hasSuffix:@"@2x.png"] || [lastPathComponent hasSuffix:@"@2x.jpg"]) { scale = 2.0; }