Xamarin forms, trying to bind my Image URL from my database to XAML but an image does not appear
<p>I try to get an image from my database (in this case localhost) but it doesn't seem to work. I'm binding the result (URL to the image) to my XAML without any luck. I get no error but an Image does not appear either. This is my code.</p>

<p>Maybe it has something to do with my URL?
When I used parse (as backend) they gave us a URL that started like this:
"<a href="http://files.parsetfss.com/" rel="nofollow">http://files.parsetfss.com/</a>....."</p>

<p>My URL just starts with "localhost". Do I need to adjust the backend code somehow?</p>

<p>My cs file where I retrieve the http and jsondata:</p>

<pre><code>static public async Task&lt;JObject&gt; getImages ()
{
    var httpClientRequest = new HttpClient ();
    var result = await httpClientRequest.GetAsync ("http://www.localhost.com/image.php");
    var resultString = await result.Content.ReadAsStringAsync ();
    var jsonResult = JObject.Parse (resultString);

    return jsonResult;
} 
</code></pre>

<p>It looks like this on the localhost:</p>

<pre><code>{
    "results": [
    {
        "GetImage": {
            "ID": 1,
            "Name": "Aqua",
            "URL": "http://localhost.com/Images/Aquavit.jpg"
        }
    }]
}
</code></pre>

<p>This is my contentpage where I try to recieve the image:</p>

<pre><code>async void clickHere (object s, EventArgs ar)
{
    var createImage = await phpApi.getImages ();
    list = new List&lt;pictures&gt; ();

    foreach (var currentItem in createImage["results"]) {
        var prodPic = "";
        if(currentItem["GetImage"] != null)
        {
            prodPic = (string)currentItem ["GetImage"]["URL"];
        }

        list.Add (new pictures () { 
            image = prodPic,
        });

        System.Diagnostics.Debug.WriteLine (currentItem ["GetImage"]["URL"]); //here I get the exact URL.

    }
}
</code></pre>

<p>My class:</p>

<pre><code>public class pictures 
{
    public string image { get; set; }
}
</code></pre>

<p>And its XAML:</p>

<pre><code>&lt;Image Source = "{Binding image}" /&gt;
</code></pre>