title: How to retrieve image url on a page through REST API
body: <p>I'm using rest api to retrieve title, main text etc. of pages on a site on sharepoint online. 
  Problem is when I fetch the xml of a page, there is no reference to the picture that is loaded on the page. I even get the caption but no reference to the picture. </p>
  
  <p>here's an example of the xml I get and the uri I use:
  <a href="https://mysite.sharepoint.com/sites/test/_api/web/lists/pages/items(6)" rel="nofollow">https://mysite.sharepoint.com/sites/test/_api/web/lists/pages/items(6)</a></p>
  
  <p>xml: </p>
  
  <pre><code>&lt;content type="application/xml"&gt;
   &lt;m:properties&gt;
  &lt;d:FileSystemObjectType m:type="Edm.Int32"&gt;0&lt;/d:FileSystemObjectType&gt;
  &lt;d:Id m:type="Edm.Int32"&gt;6&lt;/d:Id&gt;
  &lt;d:ContentTypeId&gt;0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D00BBA24CC0099910944B5773544989BF2F44BE8E92A&lt;/d:ContentTypeId&gt;
  &lt;d:Title&gt;Forsikringer&lt;/d:Title&gt;
  &lt;d:Comments m:null="true" /&gt;
  &lt;d:PublishingContactId m:null="true" /&gt;
  &lt;d:PublishingContactEmail m:null="true" /&gt;
  &lt;d:PublishingContactName m:null="true" /&gt;
  &lt;d:PublishingContactPicture m:null="true" /&gt;
   &lt;d:PublishingPageLayout m:type="SP.FieldUrlValue"&gt;
  &lt;d:Description&gt;Article Page&lt;/d:Description&gt;
  &lt;d:Url&gt;https://mysite.sharepoint.com/sites/test-Ucom/_catalogs/masterpage/ArticlePage.aspx&lt;/d:Url&gt;
   &lt;/d:PublishingPageLayout&gt;
  &lt;d:PublishingIsFurlPage m:null="true" /&gt;
  &lt;d:SeoBrowserTitle m:null="true" /&gt;
  &lt;d:SeoMetaDescription m:null="true" /&gt;
  &lt;d:SeoKeywords m:null="true" /&gt;
  &lt;d:RobotsNoIndex m:null="true" /&gt;
  &lt;d:PublishingPageContent&gt;&lt;p&gt;Vårt forsikringsbyrå sørger for at alle ansatte i Conteso får den behandlingen og oppreisningen som er nødvendig om uhellet er ute. Dersom du sliter med vonde nakke og skuldre etter lange dager foran dataen dekker vår helseforsikring blant annet behandling hos både fysioterapeut og kiropraktor.&lt;/p&gt;&lt;p&gt; Ønsker du å lese mer om hva vår helseforsikring dekker kan du lese mer om dette i personalhåndboken. &lt;/p&gt;&lt;/d:PublishingPageContent&gt;
  &lt;d:ArticleByLine m:null="true" /&gt;
  &lt;d:ArticleStartDate m:null="true" /&gt;
  &lt;d:PublishingImageCaption&gt;Vårt forsikringsbyrå sørger for at alle ansatte i Conteso får den behandlingen og oppreisningen som er nødvendig om uhellet er ute.&lt;/d:PublishingImageCaption&gt;
  &lt;d:FeaturedArticle m:type="Edm.Boolean"&gt;true&lt;/d:FeaturedArticle&gt;
  &lt;d:PntsSmallFeaturedArticle m:type="Edm.Boolean"&gt;false&lt;/d:PntsSmallFeaturedArticle&gt;
  &lt;d:Ingress&gt;??Visste du at i Conteso har alle ansatte personal, reise og helseforsikring i verdensklasse?&lt;/d:Ingress&gt;
  &lt;d:AllowComments m:type="Edm.Boolean"&gt;true&lt;/d:AllowComments&gt;
  &lt;d:HiddenArticle m:type="Edm.Boolean"&gt;false&lt;/d:HiddenArticle&gt;
  &lt;d:FirstTimePublished m:type="Edm.DateTime"&gt;2014-07-17T10:19:57Z&lt;/d:FirstTimePublished&gt;
  &lt;d:Forfatter&gt;Vikram Rai&lt;/d:Forfatter&gt;
  &lt;d:Quote m:null="true" /&gt;
  &lt;d:QuoteBy m:null="true" /&gt;
  &lt;d:PntsLocation m:null="true" /&gt;
  &lt;d:PntsTargetGroup m:null="true" /&gt;
  &lt;d:ID m:type="Edm.Int32"&gt;6&lt;/d:ID&gt;
  &lt;d:Created m:type="Edm.DateTime"&gt;2014-09-08T19:13:48Z&lt;/d:Created&gt;
  &lt;d:AuthorId m:type="Edm.Int32"&gt;17&lt;/d:AuthorId&gt;
  &lt;d:Modified m:type="Edm.DateTime"&gt;2014-09-08T19:13:48Z&lt;/d:Modified&gt;
  &lt;d:EditorId m:type="Edm.Int32"&gt;17&lt;/d:EditorId&gt;
  &lt;d:OData__CopySource m:null="true" /&gt;
  &lt;d:CheckoutUserId m:null="true" /&gt;
  &lt;d:OData__UIVersionString&gt;1.0&lt;/d:OData__UIVersionString&gt;
  &lt;d:GUID m:type="Edm.Guid"&gt;1c8606fd-2ffd-428b-991b-c9bf49f4d9c6&lt;/d:GUID&gt;
   &lt;/m:properties&gt;
  &lt;/content&gt;
  </code></pre>