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

SDWebImage 2.7.4 version - allow http caching

Latest version of SDWebImage allows app to override its rigorous caching mechanism and honor HTTP Cache headers with this flag - SDWebImageRefreshCached but its not available in older versions. Is it possible to do the same with older version…
hackerinheels
  • 1,141
  • 1
  • 6
  • 14
0
votes
1 answer

Multi-threading using SDWebImage causes NSManagedObjects to appear twice

I have the following problem. I'm currently building a recipe-based app and use a standard tableview to display the recipes. On the app launch, a file is downloaded from a server which includes recipe data. The data is then entered into CoreData…
Julius
  • 576
  • 5
  • 12
0
votes
1 answer

How can I used the cache image of SDWebimage in UIWebview

How can I take the advantage of SDWebCache in UIWebview. I am loading the UIWebview using loadhtmlWithString with Image tag in the html & passing url in it but it is downloading the image again instead of taking it from cache. Can any body tell…
DAMM108
  • 970
  • 2
  • 13
  • 27
0
votes
1 answer

iOS Facebook fql request to return photo url

My query string looks like this : NSString *query = [NSString stringWithFormat:@"SELECT id, name, pic, type, url, username from profile where id = %@", sourceID]; I finally get the profile. In my app, I want to show the profile pic. So I take the…
Plot
  • 898
  • 2
  • 15
  • 26
0
votes
1 answer

SDWebImageManager issue

SDWebImageManager *manager = [SDWebImageManager sharedManager]; [manager downloadWithURL:imageURL delegate:self options:0 success:^(UIImage *image, BOOL cached) { _newsimage.alpha = 0.0; [UIView transitionWithView:_newsimage …
Mhmd Backer Shehadi
  • 559
  • 1
  • 12
  • 30
0
votes
0 answers

SDWebimage not returns image by passing ImageUrl in ios7

I am developing an app that should show the image in UIImageview by passing image URL in SDWebImage. It works great and showing image in iOS6 and earlier device but in iOS7 it doesn't produce images. Here is my code This is the ImageUrl i'm using In…
Maniganda saravanan
  • 2,188
  • 1
  • 19
  • 35
0
votes
1 answer

How do I work in the frame of the UIImageView when using an asynchronous loading library like SDWebImage or UIImageView+AFNetworking?

Libraries like SDWebImage and AFNetworking add the ability to set the image on a UIImageView based on a URL which loads asynchronously, thus not making the user wait while the image loads. For my use, I'm creating a gallery similar to Photos.app…
Doug Smith
  • 29,668
  • 57
  • 204
  • 388
0
votes
2 answers

Cant get reference to an image using SDWebImage framework

i have a table that parse through an XML and get values for images loaded by URL links. There is my code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier =…
Evgeniy Kleban
  • 6,794
  • 13
  • 54
  • 107
0
votes
1 answer

https images not showing on UIImageView

I need show the image from https (ex. https://ton.twitter.com/1.1/ton/data/dm/433966760199725056/433966760212332544/du3THdSe.png) by UIImageView in my iOS app. This image opens in browser, but does not show in UIImageView by using these methods: …
Alex
  • 2,100
  • 19
  • 26
0
votes
1 answer

objective-c How to cache images from facebook using SDWebImage?

Im new in iOS programming so i need some help. I have a TableViewController with a property NSArray, where is stored Facebook User's friends info: uid, square_pic and name. I use to load their profile photos using FBProfilePictureView, by uid. My…
user3258772
  • 103
  • 5
  • 12
0
votes
3 answers

Download content for cells only for visible

I have UICollectionViewCell with dynamic content download (image download). I have download in block in cell: -(MainVCCell*)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { static NSString…
Jakub
  • 13,712
  • 17
  • 82
  • 139
0
votes
1 answer

SDWebimage exception at runtime

I´m using XCode 5.0 and i got this exception at runtime: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageWithURL:placeholderImage:options:] I have download the SDWebImage from GitHub…
bruno
  • 2,154
  • 5
  • 39
  • 64
0
votes
2 answers

Make dynamically loaded UITableViewCell ImageView change color when selected

I am hoping this is an easy question and I am just missing something obvious. My table cells - ScheduleCell are created dynamically. All the content comes from a parsed JSON payload. The cell's images - cellImage are dynamic as well and…
denvdancsk
  • 3,033
  • 2
  • 26
  • 41
0
votes
3 answers

Resize UIImageView in iOS

I'm uring iCarossel with SDWebImage. Everything works just fine but when the image size is too big it just goes out of the screen. Following is the snippet where image view is generated view = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 100,…
Jay Mayu
  • 17,023
  • 32
  • 114
  • 148
0
votes
1 answer

rounded image using SDWebImage

I want to use SDWebImage in my code to use cache with my images but I want to use rounded images. With this code I have rounded images and works perfect: NSString *imageURL = [noticia objectForKey:@"imagem"]; UIImageView *imgView=[[UIImageView…
eugui
  • 461
  • 1
  • 5
  • 13