<?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: Creating simple image gallery on website powered by Dropbox in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38272#M1133</link>
    <description>&lt;P&gt;That's just the raw data for the image. You can save it directly into a file and use that image file as you would normally.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2015 06:16:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-04-03T06:16:27Z</dc:date>
    <item>
      <title>Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38267#M1128</link>
      <description>&lt;P&gt;I am an average PHP programmer, and I would like to create an image gallery on my website powered by one of my Dropbox image folders. I intensively searched through forum and development section of dropbox but still get a bit confused.&lt;BR /&gt;
Here is the idea. Amongst all menu links on my page one would be Image gallery. I think it is practical to to use API to make a kind of component for my page which will load thumbnails of my specific Dropbox folder. Clicking on thumbnail would show larger image in shadowbox-style presentation (but thats the website part of programming). It would be easy to handle gallery images on that Dropbox folder since i can add images via my mobile camera, or transfer or delete some of them via any of my computers where i have Dropbox installed. That is much easyer to handle then using some web CMS to handle gallery.&lt;BR /&gt;
So what I need to build is just simple component based on php language which will pick thumbnails from my Dropbox folder and place them on my website based on response. No other functionality required like deleting, uploading, browsing - just simple presentation.&lt;/P&gt;

&lt;P&gt;Now the question is, how and where to start this, which API to use for simple image pulling, I was looking at Core API, Datastore API, Sync API, but I cant figure out which one is the best for the task in PHP, If any of you can narrow my choice and point me to the right direction it would be great, Once I understand which tools i need i could handle the developing proccess.&lt;BR /&gt;
Thanks...&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:43:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38267#M1128</guid>
      <dc:creator>Aleksandar H.</dc:creator>
      <dc:date>2019-05-29T09:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38268#M1129</link>
      <description>&lt;P&gt;The Core API would be the best choice for this. You can find the official PHP SDK for the Core API here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/core/sdks/php" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/core/sdks/php&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There's a getting started guide here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/core/start/php" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/core/start/php&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The full documentation is here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For example, you can use this method to get a thumbnail for an image file:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_getThumbnail" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_getThumbnail&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 00:31:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38268#M1129</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-04-03T00:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38269#M1130</link>
      <description>&lt;P&gt;So, ok, thanks, that was helpful. I got to some degree with the proccess success in authenticated, get account info and even folder metadata, now i am stucked on getting thumbnail using getThumbnail function, with an error: Fatal error: Class 'Path' not found. I cannot find any example of regular call of this function specialy how to create a valid path.&lt;BR /&gt;
Currently using &lt;A href="https://api-content.dropbox.com/1/thumbnails/auto/images/20131205_204518.jpg" rel="nofollow noreferrer"&gt;https://api-content.dropbox.com/1/thumbnails/auto/images/20131205_204518.jpg&lt;/A&gt; but that doesnt seem to work.&lt;BR /&gt;
However it looks to me that it is not possible to get the list of all images in a specific folder/subfolder. So even if I get one thumbnail pulled from my folder this would be hardcoded on a single file name. I presume that it is not possible to make my app show grid of images drom dropbox folder. Or, did i take a wrong turn anywhere?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 05:04:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38269#M1130</guid>
      <dc:creator>Aleksandar H.</dc:creator>
      <dc:date>2015-04-03T05:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38270#M1131</link>
      <description>&lt;P&gt;Can you post the code and full output for the "Class 'Path' not found" error?&lt;/P&gt;

&lt;P&gt;The path you use with &lt;CODE&gt;getThumbnail&lt;/CODE&gt; is the relative path inside Dropbox, e.g.,&lt;CODE&gt;/images/20131205_204518.jpg&lt;/CODE&gt;. You can get information about the contents of folders, including the paths you need for &lt;CODE&gt;getThumbnail&lt;/CODE&gt;, by using &lt;CODE&gt;_getMetadataWithChildren&lt;/CODE&gt; or &lt;CODE&gt;_getDelta&lt;/CODE&gt;:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#&lt;/A&gt;&lt;EM&gt;getMetadataWithChildren&lt;BR /&gt;
&lt;A href="https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#&lt;/A&gt;&lt;/EM&gt;getDelta&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 05:27:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38270#M1131</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-04-03T05:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38271#M1132</link>
      <description>&lt;P&gt;Greg, you are great, considering your tips and what I learned so far, i managed to get thumbnail, and managed to get folder content. Looping through array i can get all of them. A small tip for everyone reading this: dont forget that getThunbnail function needs to be attached with your client &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; For example &lt;BR /&gt;
$thumb=$dbxClient-&amp;gt;getThumbnail("/images/20131205_204518.jpg","jpeg","s");&lt;BR /&gt;
Now Greg, for the next step, what should i do with the data i get in $thumb[1] which is kind of textual representation of an thumbnail? cant transform it to real image...&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 06:01:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38271#M1132</guid>
      <dc:creator>Aleksandar H.</dc:creator>
      <dc:date>2015-04-03T06:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38272#M1133</link>
      <description>&lt;P&gt;That's just the raw data for the image. You can save it directly into a file and use that image file as you would normally.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 06:16:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38272#M1133</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-04-03T06:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38273#M1134</link>
      <description>&lt;P&gt;Please post the code you used. I'd like to create the same thing. &amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2016 07:52:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38273#M1134</guid>
      <dc:creator>Alex P.42</dc:creator>
      <dc:date>2016-03-26T07:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38274#M1135</link>
      <description>&lt;P&gt;I want to retrieve all the images of my dropbox account . How can i ??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 17:42:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38274#M1135</guid>
      <dc:creator>Positive Print</dc:creator>
      <dc:date>2016-07-01T17:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating simple image gallery on website powered by Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38275#M1136</link>
      <description>&lt;P&gt;You can use the Dropbox API to programmatically list and download files. We recommend using one of the official SDKs if possible:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you run in to any issues or have any specific questions, please open a new thread with the specifics:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209245" rel="nofollow noreferrer"&gt;https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209245&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 22:48:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-simple-image-gallery-on-website-powered-by-Dropbox/m-p/38275#M1136</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-07-01T22:48:39Z</dc:date>
    </item>
  </channel>
</rss>

