Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Greetings
I'm using Wufoo (a form design app - basiclly a form) so user can upload their photo into the form. Those pictures are stored in Dropbox.
I want my website (a PHP file) to be able to get those images, crop them and display them in a nice format (some mosaic gallery of the photos). User would then be able to see the other user-uploaded photo...
Is there already something coded for that? I would need a little help on getting that to work.
Thanks!
Regards,
Nickolas Simard
That's one way, or you can use the createTemporaryDirectLink method to get a temporary link to the file contents without downloading the contents to your server itself:
That class won't work well, since the link to the file would expire and would need to be generated again (which would require the script to parse all images again for a fresh link).
What is the timeout of that link? If it's long enough, perhaps I could make the link generation script run only once per timeout?
Found the timeout info: https://www.dropbox.com/developers/core/docs#media
4 hours.
It's also not recommended to use those to display image directly to browser...
I'll resort to downloading the files and also the thumbnail (getThumbnail) to save the thumb generation on my server's side. ![]()
Now I gotta get some caching system done...
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!