title: iOS Swift: SDWebImage Image Loading Error
body: <p>I'm using SDWebImage to load images into a paginated horizontal collection view. Some images aren't loaded and give an  error "canceled."</p>
  
  <p>Here is how I declare the cell:</p>
  
  <pre><code>        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: PHOTOS_CELL_ID, for: indexPath) as! PhotosCell
  </code></pre>
  
  <p>Here is how I load images into the cell's image view:</p>
  
  <pre><code>            cell.photoImgV.sd_setImage(with: URL(string:photo[Constants.PHOTO_URL] as! String), placeholderImage: nil, options: SDWebImageOptions(rawValue: 0), completed: { (img, err, cacheType, imgURL) in
              if err != nil{
                  print("ERROR LOADING IMAGE: \(err?.localizedDescription ?? "ERRRRoR")")
              }
                  // prints: ERROR LOADING IMAGE: cancelled
  </code></pre>
  
  <p>I hope there is a fix for that.</p>