title: ASP.NET MVC and HTML "<img" tag pointing to a URL which returns another URL
body: <p>There is a legacy web site whose  tags point to a Microsoft .NET Web API endpoint which currently dumps the bytes of an image to HTTP response output.</p>
  
  <p>I want to re-write this Web API and instead of dumping the image on the screen I would like to put the generated image somewhere on Amazon S3 and just return a Cloud Front url which points to that image. In more crude terms I want the new API to return the path of the image rather than its binary data.</p>
  
  <p>My question is that if my API returns an HTTP Redirect , will the image be able to retrieve the image from the new location without redirecting the whole page? What is the best way of replacing the legacy API in such a scenario?</p>