Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
HuS
4 years agoHelpful | Level 5
Export Dropbox-Content to WordPress with list_folder
Plus plan user here. We consider using the API method list_folder to pick up a large Dropbox folder (thousands of images 100-5000 kb each) to populate the Media Library for a WordPress site. Individual files would cause minimal download traffic, as another service picks up files from there and serves images with a CDN. Transfer from Dropbox to WordPress might happen with WP All Import → Import Images from URLs. For those with good Dropbox API experience – does this sound like something worth trying?
5 Replies
- Lockett6773 hours agoNew member | Level 2
Yes — using the Dropbox API’s list_folder endpoint to enumerate a large folder and then feeding those file URLs into a bulk importer like WP All Import is a valid and achievable approach. The Dropbox API supports recursive listing and allows you to retrieve all image metadata via list_folder and list_folder/continue before you generate URLs for import. If existing plugins don’t meet your specific needs for automatically populating the WordPress Media Library with full-size images, building a custom integration around this API pattern is a reasonable solution many developers use for similar media ingestion tasks.
- HuS4 years agoHelpful | Level 5
Thanks Greg,
we'll look into this. - Greg-DB4 years ago
Dropbox Community Moderator
HuS If existing solutions don't address your use case, you can certainly build your own integration. To get the original/full size image data, you could use /2/files/download.
- HuS4 years agoHelpful | Level 5
Thank you, kylea!
I wasn't notified that my question got an answer, hence my late reply. I am aware of these WordPress plugins – they, however don't do what we need. The WordPress plugins in this list which make Dropbox available in the Media Library context let you browse Dropbox from within WordPress as an additional image source.
We want to automatically (and exclusively) populate our WordPress Media Library with assets stored on Dropbox, so that every published image originally comes from Dropbox. Thumbnails weren't enough, we need the full-size images. Dropbox would work as a minimal DAM, connected to the WordPress Media Library. - kylea4 years ago
Dropbox Staff
Getting Dropbox files into Wordpress is certainly achievable with the API - there are several community built plugins to Wordpress that allow selection of Dropbox files, see here.
If your goal is to get thumbnails of media files from Dropbox into WordPress, using get_thumbnail_batch using the output of list_folder may be the most efficient way to download the images.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!