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

Not able to compile the app with SDWEBIMAGE

When I try to run the app I am getting the following error d: warning: directory not found for option…
btmanikandan
  • 1,923
  • 2
  • 25
  • 45
0
votes
2 answers

SDWebImage UIImageView+WebCache in custom UIImageView

I'm having a problem with loading images from my webserver into my UIImageView in a tableview This code works perfect, but the images are placed weird and ugly in my tableview: - (UITableViewCell *)tableView:(UITableView *)tableView…
0
votes
4 answers

How to download many images with AFNetworking?

I am making an app.. I need to download many pictures from a server, but I don't know how to do :( I try to use this code: UIImageView *image=(UIImageView *)[cell viewWithTag:100]; dispatch_async(dispatch_get_global_queue(0,0), ^{ NSData * data =…
user2868048
  • 81
  • 1
  • 2
  • 4
0
votes
1 answer

Adding the sdwebImage framework to the projectes show Apple Mac-O linker error?

in my projects when i tried to add the sdWebImage Framework show the Mac-O linker Error the error is directory not found for option '-F/Users/9Atoms/Desktop/Alfred Consumer/October/Alfred-21/Alfred_Waiter/../../../../Documents/FacebookSDK' …
user2230971
  • 287
  • 1
  • 7
  • 22
0
votes
1 answer

Passing data to another file without pushViewController

I am trying to push data from Myfile to SDWebImageDataSource and push SDWebImageRootViewController (View). I have a problem that I cannot pass the data. I have used setImageLink method but I get imageLink value (null) in the NSInteger method why…
Luai Kalkatawi
  • 1,492
  • 5
  • 25
  • 51
0
votes
1 answer

SDWebImage on iOS 7

I followed the following tutorial http://iosmadesimple.blogspot.it/search?q=sdwebimage to add lazy image loading to my project. I am using xCode 5.0. In my project there is the "SDWebImage-3.3.framework" and in the build phases -> link binary...…
Manfred Ramoser
  • 525
  • 1
  • 6
  • 15
0
votes
1 answer

How to load images downloaded via SDWebImage into a view controller when download is complete?

I have an array of 10 URLs that are linked to images of my website. I'm using SDWebImages for async image downloading and a for loop to run thru the array of URLs. But the code would just run thru the For-loop before the first image can be…
Scott
  • 773
  • 1
  • 6
  • 18
0
votes
1 answer

SDWebImage downloadWithURL doesn't response sometimes

I am trying to use SDWebImage library to download in efficiency images. I use to download 10 photos at the same time in serial order (the function downloadWithURL create a thread for every request). sometimes with specific urls the function is like…
TalP
  • 59
  • 7
0
votes
1 answer

SDWebImage sending unknown exception

i have implemented and installed the framework correctly which it took me days, and also im new to this, the thing is i have this images from the web so i parsed it and then want to load those images using SDImageView, but after compiling im having…
Ace Munim
  • 325
  • 3
  • 18
0
votes
1 answer

load images using SDWebImage in order

After a lot of reading and recommendations, I am trying to implement SDWebImage framework in my app. I am able to download images from the server but the issue is that as the images are different sizes, they are not downloaded in the order that I…
royherma
  • 4,095
  • 1
  • 31
  • 42
0
votes
1 answer

Reload UICollectionViewCell from within cellForItemAtIndexPath

What is the best way to retry a failed image download in cellForItemAtIndexPath? I have a collection view that can show about 20 80x80 thumbnail images. I'm using SDWebImage to download and cache images in the cellForItemAtIndexPath method, but I've…
0
votes
1 answer

iOS Low Memory Warning in MapKit/SDWebImage

I've become frustrated enough to beg for some insights from the mob. I have an application that using MapKit, on tap it shows a thumbnail, and on tap of the thumbnail it shows a photo gallery of images. All the images are using SDWebImage. I've…
zquintana
  • 371
  • 2
  • 5
  • 13
0
votes
1 answer

Caching images doesnt stay once applicationDidEnterBackground is activated

I have been having an issue where no matter what framework i use to cache my images, from AFNetworking to SDWebImage's caching techniuqes to write to the disk. Everytime i press the home button, then go back to the app. Its like all the images have…
NodeDad
  • 1,519
  • 2
  • 19
  • 48
0
votes
0 answers

SDWebImage Load image onto cell using downloadWithURL

I want to load an image onto a table view cell, i.e., a custom cell with an image view. And, I use SDWebImage. I am loading an image onto the cell without using setImageWithURL. This is the code inside cellForRowAtIndexPath. [_imgManager…
esh
  • 2,842
  • 5
  • 23
  • 39
0
votes
1 answer

SDWebImage crashes TableView when array response for Image is null

I have a UITableView that crashes when I start to scroll on it. The UITableView is a list of articles, each cell has an associated Headline and Image being pulled from a news API. I have a placeholder image & an image if there is no image from the…
Realinstomp
  • 532
  • 2
  • 13
  • 30