Questions tagged [sdwebimage]

SDWebImage is a simple image library for iOS which provides caching and an easy way to load remote images asynchronously into UIImageViews.

This library provides a category for UIImageVIew with support for remote images coming from the web.

It provides:

  • An UIImageView category adding web image and cache management to the Cocoa Touch framework
  • An asynchronous image downloader
  • An asynchronous memory + disk image caching with automatic cache expiration handling
  • A guarantee that the same URL won't be downloaded several times
  • A guarantee that bogus URLs won't be retried again and again
  • Performance

More info can be found on the github page.

885 questions
0
votes
1 answer

Cannot download images from remote server using SDWebImageManager on iOS

Want to achieve image gallery through UICollectionView. I have a set of image url's in an array, say around 20-30 url's. Using SDWebImageManager to download images and cache it and display on the collection view. See my code below: for(int…
Uday
  • 1,619
  • 3
  • 23
  • 48
0
votes
1 answer

SDWebImage issues: Cocoa error 513 and Unrecognized selector send to instance

I have implemented the SDWebImage exactly as the description (link) said using xcode 5, and it gives me no errors. This is what the piece of code looks like: CustomCell *customcell = [self.tableView cellForRowAtIndexPath:[NSIndexPath…
Joris416
  • 4,751
  • 5
  • 32
  • 59
0
votes
0 answers

SDWebImage multiple image download issue

I need images from URLs in my app and I also need to cache them for reuse. Here is my code to download various images from various URLs: __block UIActivityIndicatorView *activityIndicator = [UIActivityIndicatorView.alloc …
Nirav Bhatt
  • 6,940
  • 5
  • 45
  • 89
0
votes
1 answer

Table view not working smoothly with SDWebImage

Why isn’t my table view not working smoothly? I use SDWebImage to set the image from a URL. I'm trying to draw 3 images in each row of the table view. It works fine when arrList is small, but when I increase arrList, it becomes slower and slower…
tequilar Tomsk
  • 273
  • 1
  • 3
  • 6
0
votes
1 answer

SDwebimage is not responding second time

I am facing the issue ,below is the code. It shows error for the very first time and then no completion block is calling . [self.comicsImage setImageWithURL:[NSURL URLWithString:self.imageUrl] completed:^(UIImage *image,…
Sishu
  • 1,510
  • 1
  • 21
  • 48
0
votes
1 answer

iOS set timeout for url request in SDWebImage

I'm using SDWebImage library for caching image in my iOS app. Now when loading image from server I'm showing an activity indicator on the imageview. I'm using the following code __block UIActivityIndicatorView *activityIndicator =…
Walid Hossain
  • 2,724
  • 2
  • 28
  • 39
0
votes
2 answers

iOS use cached image with SDWebImage properly

I am using SDWebImage to get pictures. let's say I have two view controllers A and B. B is the next view of A. they need to show the same image: [iconIamgeView setImageWithURL:[NSURL URLWithString:@"http://www.example.com/icon.jpg"]; I thought…
Brian
  • 30,156
  • 15
  • 86
  • 87
0
votes
1 answer

SDWebImage not show placeholderImage

i have a image link people.avatarbig:http://ws.loc.sh/images/515b9f54e4b04a5a481030f9 when you use browse to open it,you will see nothing,so SDWebImage should show placeholderImage but now it show nothing.my code : if(![GlobalVariable…
pengwang
  • 19,536
  • 34
  • 119
  • 168
0
votes
0 answers

SDWebImage not showing randomly in UITableViewCell

Hello I have a script that downloads an image and dynamically sets the UITableView height after it finishes the download, but some images randomly do not show , the curious think is that when i change back and forth the tab the images suddenly…
cromanelli
  • 576
  • 1
  • 5
  • 21
0
votes
1 answer

AFImageRequestOperation with SDWebImage issue

I use AFImageRequestOperation to download some icons, meanwhile use SDWebImage to download some pics for main view. Each AFImageRequestOperation is added to my publicOperationQueue defined in app delegate, its maxConcurrentOperationCount is set to…
njuxjy
  • 415
  • 4
  • 13
0
votes
1 answer

Memory management, many images in UICollectionView

I'm showing thumbnails of pictures (from the internet) in a UICollectionView in my app. When there are too many (like 20+) and too high res'd images the app simply crashes. I'm sort of an amateur when it comes to memory management. My question is if…
Mathias
  • 233
  • 3
  • 17
0
votes
1 answer

Images in TableView Issue

I use SDWebImage to download the Pictures from my parsed XML file, and display it in a TableView. But the problem is that some images are not shown. This it how it looks like: This is my code for parsing out the first image and displaying it in…
user1163463
0
votes
1 answer

SDWebImage not running

This problem may be weird, but it is happening and I am not getting it. I have just downloaded the code from https://github.com/rs/SDWebImage and try to run example project. It is building successfully, but not running. Why? Thanks in advance.
Piyush Dubey
  • 2,416
  • 1
  • 24
  • 39
0
votes
2 answers

Image not being set in the UItableViewCell:

I am trying to set an image to the UITAbleViewCell but it does not show up untill unless scrolled. I apologize if its repetitive. But I've tried setNeedsDiplay, reloadRowsinIndexPAth, and all other reload methods. I am using SDWebImageCache to…
shyamsundar1988
  • 529
  • 4
  • 14
0
votes
1 answer

iOS SDWebImage for UITableView?

This is my code,I have created a cusom UITableViewCell and uses SDWebImage to load image asynchronously. But it is not working. When I use default cell like this "cell.imageView setImage..." it works fine,I don't know why? DiscoutCell *cell =…
Jackie
  • 385
  • 1
  • 3
  • 10