<?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 Path for .NET SDK thumbnails in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218126#M11421</link>
    <description>&lt;P&gt;The .NET SDK examples seen to be thin.&amp;nbsp; I am looking to display thumbnails from image files on Dropbox.&amp;nbsp;&amp;nbsp; I have the BeginGetThumbnail method but am having difficulty implementing it.&amp;nbsp;&amp;nbsp; It is returning null for me.&amp;nbsp; Is this an async method??&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:23:20 GMT</pubDate>
    <dc:creator>GErler01</dc:creator>
    <dc:date>2019-05-29T09:23:20Z</dc:date>
    <item>
      <title>Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218126#M11421</link>
      <description>&lt;P&gt;The .NET SDK examples seen to be thin.&amp;nbsp; I am looking to display thumbnails from image files on Dropbox.&amp;nbsp;&amp;nbsp; I have the BeginGetThumbnail method but am having difficulty implementing it.&amp;nbsp;&amp;nbsp; It is returning null for me.&amp;nbsp; Is this an async method??&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:23:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218126#M11421</guid>
      <dc:creator>GErler01</dc:creator>
      <dc:date>2019-05-29T09:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218291#M11445</link>
      <description>&lt;P&gt;If you use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_BeginGetThumbnail_1.htm" target="_self"&gt;BeginGetThumbnail&lt;/A&gt;, you'll need to also use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_EndGetThumbnail.htm" target="_self"&gt;EndGetThumbnail&lt;/A&gt;. The Begin method fires up an async operation and the End method blocks until it completes. That would look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var asyncResult = this.client.Files.BeginGetThumbnail (path);
// ...
var thumbnailResult = this.client.Files.EndGetThumbnail (asyncResult);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It shouldn't return null though, and it seems to be working for me. Can you share the code that's giving you trouble?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can use just &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetThumbnailAsync_1.htm" target="_self"&gt;GetThumbnailAsync&lt;/A&gt;&amp;nbsp;like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var thumbnailResult = await this.client.Files.GetThumbnailAsync(path);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 20:32:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218291#M11445</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-27T20:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218346#M11450</link>
      <description>&lt;P&gt;Thanks for the info.&amp;nbsp; Got things going the right direction.&amp;nbsp; I thought I needed to used the EndGetThumb but wasn't sure where it fit in the puzzle.&amp;nbsp;&amp;nbsp; On the topic of thumbs - is it possible to call all the thumb for files that are images in a folder or do I have step thru them .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx&lt;/P&gt;
&lt;P&gt;G&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 15:06:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218346#M11450</guid>
      <dc:creator>GErler01</dc:creator>
      <dc:date>2017-04-28T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218410#M11463</link>
      <description>&lt;P&gt;No, unfortunately the API doesn't offer a way to get thumbnails in bulk like that,&amp;nbsp;but I'll be sure to pass this along as a feature request. You'll need to call for each one you need.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 17:55:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218410#M11463</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-28T17:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218457#M11468</link>
      <description>&lt;P&gt;No problem.&amp;nbsp; Its easy enough to setup an asinc service, get a list and parse thru them.&amp;nbsp;&amp;nbsp; 2 more questions I ran into.&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Is Thumbnail size fixed??&amp;nbsp; I have changed the size in the request but they are always the same;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;EM&gt;&amp;nbsp; "BeginGetThumbnail(item.PathLower, format.AsJpeg, size.AsW64h64)"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; How do I check if a file is a photo??&amp;nbsp; I thought this had promise but nope&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;EM&gt;Entries.Where(n=&amp;gt;n.AsFile.MediaInfo.AsMetadata.Value.IsPhoto))"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx&lt;/P&gt;
&lt;P&gt;G&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 28 Apr 2017 20:44:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218457#M11468</guid>
      <dc:creator>GErler01</dc:creator>
      <dc:date>2017-04-28T20:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218467#M11470</link>
      <description>&lt;P&gt;1. To set parameters like those, you should supply values like this:&lt;/P&gt;
&lt;PRE&gt; &lt;FONT face="Menlo"&gt; &lt;SPAN style="color: #009695;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;asyncResult&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #009695;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;client&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Files&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;BeginGetThumbnail&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;path&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;Dropbox&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Api&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Files&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #3364a4;"&gt;ThumbnailFormat&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #3364a4;"&gt;Jpeg&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Instance&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;Dropbox&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Api&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Files&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #3364a4;"&gt;ThumbnailSize&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #3364a4;"&gt;W64h64&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Instance&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/PRE&gt;
&lt;P&gt;2. That IsPhoto is unfortunately not what you're looking for. That just tells you the particular subtype of a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_MediaMetadata.htm" target="_self"&gt;MediaMetadata&lt;/A&gt; instance. If you want to check the type of a file, you should check its file extension. You can then compare the extension against the list of supported extensions for &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetThumbnailAsync_1.htm" target="_self"&gt;GetThumbnail&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 21:57:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218467#M11470</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-28T21:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218835#M11513</link>
      <description>Thanks for the information. &lt;BR /&gt;Go kind of a feel for how this API is put together&lt;BR /&gt;don't seem to be many using the .NET&lt;BR /&gt;G</description>
      <pubDate>Mon, 01 May 2017 22:58:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/218835#M11513</guid>
      <dc:creator>GErler01</dc:creator>
      <dc:date>2017-05-01T22:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Path for .NET SDK thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/249632#M14349</link>
      <description>The Dropbox API now offers the ability to get thumbnails in batches. In the .NET SDK, that's available as:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetThumbnailBatchAsync_1.htm" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetThumbnailBatchAsync_1.htm&lt;/A&gt;</description>
      <pubDate>Thu, 26 Oct 2017 18:47:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Path-for-NET-SDK-thumbnails/m-p/249632#M14349</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-26T18:47:12Z</dc:date>
    </item>
  </channel>
</rss>

