title: How to retrieve images from json array usings alamofire image?
body: <p>Here is the piece of code i have used to get the images from url but the code crashes with the error posted below.Please someone help me to sort this.</p>
  
  <pre><code>let imageurl = Gift.imagesUrl.replacingOccurrences(of: "\n", with: "", options: .regularExpression)
  
  Alamofire.request(imageurl, method: .get).responseImage { response in
      print(response)
  }
  </code></pre>
  
  <p>ERROR:</p>
  
  <pre><code> FAILURE: invalidURL("(    \"https://s3.amazonaws.com/webdevapp/app/public/spree/products/2/product/ri1.jpg?1476104874\")")
  </code></pre>