<?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 Re: How can I get images width and height values in pixel with API V2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761715#M33281</link>
    <description>&lt;P&gt;yes &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My url :&amp;nbsp; $url = '&lt;A href="https://api.dropboxapi.com/2/files/get_metadata" target="_blank"&gt;https://api.dropboxapi.com/2/files/get_metadata&lt;/A&gt;';&lt;/P&gt;&lt;P&gt;My curl post data =&amp;nbsp; $data = '{"include_media_info": true,"path": "/VHQ DTF/K-S-MR-ARCHIVE/03-29/S37.png"}';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I'm getting same results that without dimensions &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 23:42:06 GMT</pubDate>
    <dc:creator>dnaz</dc:creator>
    <dc:date>2024-04-03T23:42:06Z</dc:date>
    <item>
      <title>How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761638#M33274</link>
      <description>&lt;P&gt;I have created an api with PHP language, I can connect list folders and files etc.. But I cant get the images width and height with api, How can I do this with the latest api documentation ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have sent request with&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"include_media_info": true&lt;/PRE&gt;
&lt;P&gt;But there is no values depends on the width and height of images, How can I solve this ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 21:01:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761638#M33274</guid>
      <dc:creator>dnaz</dc:creator>
      <dc:date>2024-04-03T21:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761650#M33276</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1820274"&gt;@dnaz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;To get image or video media info in metadata you need to call &lt;A title="Returns the metadata for a file or folder" href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;/2/files/get_metadata&lt;/A&gt; endpoint. The media info is not supported on other endpoints for number of years already.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 21:22:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761650#M33276</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-03T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761695#M33277</link>
      <description>&lt;P&gt;Hi, I have used it but cant get the width and height.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:00:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761695#M33277</guid>
      <dc:creator>dnaz</dc:creator>
      <dc:date>2024-04-03T23:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761708#M33278</link>
      <description>&lt;P&gt;I just tried for an arbitrary image and its as follows (a bit shortened for clarity):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;gt; POST /2/files/get_metadata
&amp;gt; Host: https://api.dropboxapi.com
&amp;gt; User-Agent: api-explorer-client
&amp;gt; Authorization: Bearer ***********valid*access*token********
&amp;gt; Content-Type: application/json
&amp;gt; 
&amp;gt; {"path":"/IMG_20230616_150044.jpg","include_media_info":true}

&amp;lt; HTTP/2 200 
&amp;lt; content-type: application/json
&amp;lt; server: envoy
&amp;lt; content-length: 568
&amp;lt; 
&amp;lt; {".tag": "file", "name": "IMG_20230616_150044.jpg", "path_lower": "/img_20230616_150044.jpg", "path_display": "/IMG_20230616_150044.jpg", "id": "id:ElL7W-JPrdMAAAAAAABaqQ", "client_modified": "2023-06-16T12:01:28Z", "server_modified": "2023-06-16T12:01:29Z", "rev": "5fe3df1f1b42b22ab554a", "size": 1649795, "media_info": {".tag": "metadata", "metadata": {".tag": "photo", "dimensions": {"height": 4000, "width": 1840}, "time_taken": "2023-06-16T15:00:44Z"}}, "is_downloadable": true, "content_hash": "a373008e6d8daf0d0823cd623d38a949548d26d08f42a779cbf8ebde12c213cc"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As can be seen both width and height are there. What exactly doesn't work for you?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:22:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761708#M33278</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-03T23:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761711#M33279</link>
      <description>&lt;P&gt;I'm gettin this:&lt;/P&gt;&lt;P&gt;I'm using PHP Curl,&lt;/P&gt;&lt;PRE&gt;object(stdClass)#1 (11) {
  [".tag"]=&amp;gt;
  string(4) "file"
  ["name"]=&amp;gt;
  string(7) "S3x.png"
  ["path_lower"]=&amp;gt;
  string(37) "/vhq dxf/k-s-mr-archive/03-29/s3x.png"
  ["path_display"]=&amp;gt;
  string(37) "/VHQ DxF/K-S-MR-ARCHIVE/03-29/S3x.png"
  ["id"]=&amp;gt;
  string(25) "id:TvyxEphAjwwAAAAAAADawQ"
  ["client_modified"]=&amp;gt;
  string(20) "2024-03-29T17:50:47Z"
  ["server_modified"]=&amp;gt;
  string(20) "2024-04-03T23:19:39Z"
  ["rev"]=&amp;gt;
  string(31) "016153974e96a70000000010ef1"
  ["size"]=&amp;gt;
  int(12209354)
  ["is_downloadable"]=&amp;gt;
  bool(true)
  ["content_hash"]=&amp;gt;
  string(64) "3667ae13d1bd27da44f59c4c88bd69041fe0f95d8119bec35851a144759"
}&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:34:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761711#M33279</guid>
      <dc:creator>dnaz</dc:creator>
      <dc:date>2024-04-03T23:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761713#M33280</link>
      <description>&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@488936AC5FA64023548E32631AFD9803/emoticons/1f600.png" alt=":grinning_face:" title=":grinning_face:" /&gt; I'm receiving roughly the same (or equivalent) when I skip turning on the media info. Did you skip that step? (Note in the request body above: "include_media_info":true)&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@A16056C119D4591E1188DE34BB2BEF73/emoticons/1f446.png" alt=":backhand_index_pointing_up:" title=":backhand_index_pointing_up:" /&gt; By default media info is off!&lt;/P&gt;&lt;P&gt;Hope this clarifies matter.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:39:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761713#M33280</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-03T23:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761715#M33281</link>
      <description>&lt;P&gt;yes &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My url :&amp;nbsp; $url = '&lt;A href="https://api.dropboxapi.com/2/files/get_metadata" target="_blank"&gt;https://api.dropboxapi.com/2/files/get_metadata&lt;/A&gt;';&lt;/P&gt;&lt;P&gt;My curl post data =&amp;nbsp; $data = '{"include_media_info": true,"path": "/VHQ DTF/K-S-MR-ARCHIVE/03-29/S37.png"}';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I'm getting same results that without dimensions &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:42:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761715#M33281</guid>
      <dc:creator>dnaz</dc:creator>
      <dc:date>2024-04-03T23:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761717#M33282</link>
      <description>&lt;P&gt;Wow.. Yes, you are correct. As seems it works stable only for jpegs, but not png or gif.... Don't ask me why! 🤷&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:55:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761717#M33282</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-03T23:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761845#M33287</link>
      <description>&lt;P&gt;This media information is not available for all files/file types, but I'll pass this along as a feature request to expand support for this. I can't promise if or when that might be done though.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 12:58:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761845#M33287</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-04T12:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761856#M33289</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Expanding support for different media types would be really fine, but regardless of the final decision for whether and/or when that to be done, documentation may be improved. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; At present definition of what's photo and what's video in content of type MediaMetadata is missing and predisposes confusions! (I just got confused above, for instance &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@F4F2B73BDA07803302C2F112BCBF175A/emoticons/1f616.png" alt=":confounded_face:" title=":confounded_face:" /&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@AAA7D3757210035153C0914E695A47E3/emoticons/1f633.png" alt=":flushed_face:" title=":flushed_face:" /&gt;) Would be fine definition like the one existing for &lt;A title="File type corresponds to a list of individual file extensions" href="https://www.dropbox.com/developers/chooser#file-types" target="_blank" rel="noopener"&gt;file types&lt;/A&gt; related to Dropbox Chooser to be added that would clarify things.&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:37:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761856#M33289</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-04T13:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get images width and height values in pixel with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761860#M33290</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt; Thanks! I'll pass this along as well.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:59:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-images-width-and-height-values-in-pixel-with-API/m-p/761860#M33290</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-04T13:59:39Z</dc:date>
    </item>
  </channel>
</rss>

