title: Resize Download Image with AlamofireImage
body: <p>I have 200px x 200px <code>UIImageView</code> on <code>UICollectionViewCell</code> that will display an image from URL. The problem is I don't know what resolution's image provided by the URL and I think it's better to resize it first before placing in <code>UIImageView</code> due to memory consumption.</p>
  
  <p>I already use alamofire to download an image</p>
  
  <pre><code>let url = NSURL(string: "http:\(product.picUrl)")
  self.imgProductItem.af_setImageWithURL(url!, placeholderImage: UIImage(named: "app_default-resize"))
  </code></pre>
  
  <p>I am wondering is there any method to resize it first before it use to place in <code>UIImageView</code>? And if any tips for download an image to save memory usage, I'd like to hear that.</p>
  
  <p>Any help would be appreciated. Thank you.</p>