title: Drupal RESTful web services to access image URL using Ionic
body: <p>Firstly, I'm a long time user of stackoverflow for existing answers, first time asker, so go easy if this is too basic or has been answered elsewhere.</p>
  
  <p>I'm trying to use Drupal 7's RESTful web services module to serve content to an Ionic app. I have the content flowing through fine (e.g. title and body text) but am struggling to access the images. The relevant part of the JSON response is:</p>
  
  <pre><code>  "field_cover_image": {
      "file": {
        "uri": "http://example.com/drupal/file/9",
        "id": "9",
        "resource": "file"
      }
    },
  </code></pre>
  
  <p>How can I translate that information for use inside an image tag, from what I can see I am only being given the ID of the image at this point where what I need is the url/filename.</p>
  
  <p>Thanks</p>