http call to retrieve images