<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to get height and width of an image from the api in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-height-and-width-of-an-image-from-the-api/m-p/443291#M23214</link>
    <description>&lt;P&gt;I want to display an image stored on dropbox on my webpage. I am using the Javascript SDK. I get a shared link via&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;sharingCreateSharedLinkWithSettings&lt;/EM&gt;&amp;nbsp;&lt;/STRONG&gt;and the image displays, but I want to specify the height and width in my img tag, and am missing that information.&amp;nbsp; I tried &lt;STRONG&gt;&lt;EM&gt;filesGetMetadata&lt;/EM&gt;&lt;/STRONG&gt; but it does not return what I need. I see that there is a method &lt;STRONG&gt;&lt;EM&gt;filesDownload&lt;/EM&gt;&lt;/STRONG&gt;. When I use this I see a &lt;EM&gt;&lt;STRONG&gt;filesBinary&lt;/STRONG&gt; &lt;/EM&gt;proprerty on the response, but am not sure how to use this (if indeed I should).&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help,&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2020 14:54:48 GMT</pubDate>
    <dc:creator>tiamat</dc:creator>
    <dc:date>2020-08-07T14:54:48Z</dc:date>
    <item>
      <title>how to get height and width of an image from the api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-height-and-width-of-an-image-from-the-api/m-p/443291#M23214</link>
      <description>&lt;P&gt;I want to display an image stored on dropbox on my webpage. I am using the Javascript SDK. I get a shared link via&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;sharingCreateSharedLinkWithSettings&lt;/EM&gt;&amp;nbsp;&lt;/STRONG&gt;and the image displays, but I want to specify the height and width in my img tag, and am missing that information.&amp;nbsp; I tried &lt;STRONG&gt;&lt;EM&gt;filesGetMetadata&lt;/EM&gt;&lt;/STRONG&gt; but it does not return what I need. I see that there is a method &lt;STRONG&gt;&lt;EM&gt;filesDownload&lt;/EM&gt;&lt;/STRONG&gt;. When I use this I see a &lt;EM&gt;&lt;STRONG&gt;filesBinary&lt;/STRONG&gt; &lt;/EM&gt;proprerty on the response, but am not sure how to use this (if indeed I should).&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help,&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 14:54:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-height-and-width-of-an-image-from-the-api/m-p/443291#M23214</guid>
      <dc:creator>tiamat</dc:creator>
      <dc:date>2020-08-07T14:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to get height and width of an image from the api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-height-and-width-of-an-image-from-the-api/m-p/443322#M23215</link>
      <description>&lt;P&gt;The answer is to use&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;include_media_info:&amp;nbsp;true&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;as an option to &lt;EM&gt;&lt;STRONG&gt;files/get_metadata&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 23:33:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-height-and-width-of-an-image-from-the-api/m-p/443322#M23215</guid>
      <dc:creator>tiamat</dc:creator>
      <dc:date>2020-08-06T23:33:32Z</dc:date>
    </item>
  </channel>
</rss>

