You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Derag
8 months agoExplorer | Level 3
Image link on without sharing
I am making a webapp that lets user store, edit and view text files on their Dropbox account (from app folder). I would want to embedded images into that text, with images that are also saved on use...
- 8 months ago
The Dropbox API /2/sharing/create_shared_link_with_settings endpoint (or corresponding native method in an SDK) does offer an 'audience' setting of 'no_one', which does not grant additional access, so that only the account(s) that already otherwise have access to the file (such as the owner) would be able to access it.
Also, Dropbox does offer the ability to modify shared links for different behaviors, such as direct file data access, e.g., by using the raw=1 parameter, as documented here. Note that shared links are subject to bandwidth limits.
I just tried this out myself though and unfortunately it looks like this particular combination of settings doesn't work. I'll raise this with the team to see if this is something we can support.
Greg-DB
8 months agoDropbox Staff
The Dropbox API /2/sharing/create_shared_link_with_settings endpoint (or corresponding native method in an SDK) does offer an 'audience' setting of 'no_one', which does not grant additional access, so that only the account(s) that already otherwise have access to the file (such as the owner) would be able to access it.
Also, Dropbox does offer the ability to modify shared links for different behaviors, such as direct file data access, e.g., by using the raw=1 parameter, as documented here. Note that shared links are subject to bandwidth limits.
I just tried this out myself though and unfortunately it looks like this particular combination of settings doesn't work. I'll raise this with the team to see if this is something we can support.
- Derag8 months agoExplorer | Level 3
I ended up using access Public and raw=1
Thanks for raising this further!- Derag8 months agoExplorer | Level 3
For some reason that stopped working. Now image isn't loaded. It tries to download it even with raw=1
Same happens for files that worked before
- Здравко8 months agoLegendary | Level 20
Hi Derag,
That's because some strange change of all new links behavior gets up. Doesn't matter of link parameters (is there something link "dl=1" or "raw=1"), all links provide HTML content that may redirect further to the file. This contradicts to the Dropbox links documentation. 🤷
Let's hope this is some mistake that'll be fixed. .. and let's hope this is NOT some new "feature" that first rolled out and documentation... doesn't matter. Let's hope...
Good luck... to all of us.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,899 PostsLatest Activity: 3 hours agoIf 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 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!