I would like to display the image from HTTPRequest in ImageView. Because only the image name is given on the server I tried to load the name in the Load () in ImageView and add the missing elements, i.e. the address at the beginning and the type at the end. When I try to open the application I get a LOADAT error. How to fix it?
The code looks like this:
var imageName = HTTPClient1.Request.value.list.index[0].weather.index[0].icon;
var image = "http://openweathermap.org/img/w/" + imageName + ".png";
ImageView1.url = image;