Hi guys!
netlify site name: don’t have one yet
I’m planning to implement following workflow for my team:
- We (a wedding agency) receive GBs of photos from photographers into our Dropbox.
- An editor (not a developer or techie) logs into our CMS, which uses Dropbox Chooser to select photo(s) directly from Dropbox to show e.g. on a blog post.
- Latest upon saving the blog post, the photos are somehow “copied” / pushed from Dropbox to Netlify Large Media / LFS
- The changes (new blog post) are available to preview in a staging environment under a fixed domain / URL, or the preview URL can be is sent to the editor.
The Dropbox Chooser in step 2. is a JS widget that returns a piece of JSON with (temporary!) URL(s) to the selected photo(s), which can be up to 20MB each!
How can I implement the 3. step? Will I need to run some proxy API in the cloud which downloads the photos from Dropbox URLs to my VPS’s disk and then executes git add ... commit ... push
, which then triggers static website build on Netlify and makes it available for the editors to preview their work?
This seems too cumbersome! Is there maybe a Netlify API / GitHub LFS to directly “download” large files from the public Dropbox URL to Netlify / GitHub LFS or similar, and then triggers site build …which I can use directly in the frontend of my CMS, without running some proxy API / cron job etc.?
In essence our challenge is: how can we use photos from Dropbox with Netlify Large Media without hindering the workflow of my editors, who don’t use VS Code / git and don’t have fiber optic internet to download and re-upload 100s of MBs of photos on daily basis.
Any ideas are welcome!
Thank you,
Waldemar