Download Image from Api Url and show in Collection view in swift using Alamofire
<p>I already am able to fetch the url from the Api which is in Json format. But this one is the image url. now how can I able to download that image from url and show in collection view.  I have </p>

<p><strong>code</strong></p>

<pre><code> override func viewDidLoad() {
    super.viewDidLoad()

    Alamofire.request(.GET, "http://\(platform).eposapi.co.uk/?app_id=\(apiID)&amp;app_key=\(apikey)&amp;request=&amp;request=gallery", parameters: nil)
        .responseJSON { response in
            print(response.request)  // original URL request
            print(response.response) // URL response
            print(response.data)     // server data
            print(response.result)   // result of response serialization

            if let JSON = response.result.value {
                print("JSON: \(JSON)")

                   self.imageData = JSON as! Array&lt;AnyObject&gt;
                   print(self.imageData)
                   print("total number of images = \(self.imageData.count)")
                   for image in self.imageData{
                   print(image)
            }



    }
</code></pre>

<p>In <code>JSON</code> all the image url are coming . I can see it. Now how to download image from that url and show in collection view. Please tell anyone how can I apply here.</p>

<p>The image url I got is:</p>

<blockquote>
  <p>[<a href="http://chicoshorwich.com/img/14517241531454.jpg" rel="nofollow">http://chicoshorwich.com/img/14517241531454.jpg</a>,<br>
        <a href="http://chicoshorwich.com/img/14517241944082.jpg" rel="nofollow">http://chicoshorwich.com/img/14517241944082.jpg</a>, 
        <a href="http://chicoshorwich.com/img/14517273984235.jpg" rel="nofollow">http://chicoshorwich.com/img/14517273984235.jpg</a>, 
       <a href="http://chicoshorwich.com/img/14517274885779.jpg" rel="nofollow">http://chicoshorwich.com/img/14517274885779.jpg</a>, <a href="http://chicoshorwich.com/img/1451727556453.jpg" rel="nofollow">http://chicoshorwich.com/img/1451727556453.jpg</a>, <a href="http://chicoshorwich.com/img/14614027267627.jpg" rel="nofollow">http://chicoshorwich.com/img/14614027267627.jpg</a>, <a href="http://chicoshorwich.com/img/14517278515475.jpg" rel="nofollow">http://chicoshorwich.com/img/14517278515475.jpg</a>, <a href="http://chicoshorwich.com/img/14614068518289.jpg" rel="nofollow">http://chicoshorwich.com/img/14614068518289.jpg</a>, <a href="http://chicoshorwich.com/img/14616123258824.jpg" rel="nofollow">http://chicoshorwich.com/img/14616123258824.jpg</a>, <a href="http://chicoshorwich.com/img/14614027528137.jpg" rel="nofollow">http://chicoshorwich.com/img/14614027528137.jpg</a>, <a href="http://chicoshorwich.com/img/14517344227700.jpg" rel="nofollow">http://chicoshorwich.com/img/14517344227700.jpg</a>, <a href="http://chicoshorwich.com/img/1461402768681.jpg" rel="nofollow">http://chicoshorwich.com/img/1461402768681.jpg</a>, <a href="http://chicoshorwich.com/img/14614028323203.jpg" rel="nofollow">http://chicoshorwich.com/img/14614028323203.jpg</a>, <a href="http://chicoshorwich.com/img/14614029485351.jpg" rel="nofollow">http://chicoshorwich.com/img/14614029485351.jpg</a>, <a href="http://chicoshorwich.com/img/14614029565341.jpg" rel="nofollow">http://chicoshorwich.com/img/14614029565341.jpg</a>, <a href="http://chicoshorwich.com/img/14614068296679.jpg]" rel="nofollow">http://chicoshorwich.com/img/14614068296679.jpg]</a>
  total number of images = 16</p>
</blockquote>

<p>Please tell the solution.</p>