Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
dwWithCat
2 years agoExplorer | Level 3
Saver does not upload image file to dropbox, only opens the image in new tab.
Trying to use Saver on Instagram files. If I use the API like this:
fetch("/api/dropboxupload", {
method: "POST",
headers: {
"Content-Type": "application/json...
- 2 years ago
dwWithCat Здравко is correct; for a situation like that, you'll need to instead follow "Programmatically creating Saver buttons" or "Triggering the Saver from JavaScript".
dwWithCat
2 years agoExplorer | Level 3
use this button:
<a href="https://scontent-bos5-1.cdninstagram.com/v/t51.29350-15/428411950_339418955083101_368199220363993675_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=18de74&_nc_ohc=0ce-NRUUU5sQ7kNvgEM71DQ&_nc_ht=scontent-bos5-1.cdninstagram.com&edm=ANo9K5cEAAAA&oh=00_AYArNjV13Xrqx0ES6GTEp2oGvbNtOkDp5MpdqcaCz1ur0A&oe=66514ADB" data-filename="_everything_in_my_feed_begins_with_g__.jpg" class="dropbox-saver dropbox-dropin-btn dropbox-dropin-default">Save to Dropbox2</a>the other one expired.
Greg-DB
Dropbox Community Moderator
2 years agodwWithCat I just tried this and the Saver button was successfully built and clicking it successfully launched the Saver, not a new tab showing the image:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="erwx9osh8i78x25"></script>
</head>
<body>
<a href="https://scontent-bos5-1.cdninstagram.com/v/t51.29350-15/428411950_339418955083101_368199220363993675_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=18de74&_nc_ohc=0ce-NRUUU5sQ7kNvgEM71DQ&_nc_ht=scontent-bos5-1.cdninstagram.com&edm=ANo9K5cEAAAA&oh=00_AYArNjV13Xrqx0ES6GTEp2oGvbNtOkDp5MpdqcaCz1ur0A&oe=66514ADB" data-filename="_everything_in_my_feed_begins_with_g__.jpg" class="dropbox-saver dropbox-dropin-btn dropbox-dropin-default">Save to Dropbox2</a>
</body>
</html>
If this isn't working for you, please share a live sample page URL displaying the issue so we can take a look.
- dwWithCat2 years agoExplorer | Level 3
exhibit page the images in the grid on this page have buttons to save them to Dropbox. They do not work for me - they only open a new tab and display the image there.
- Здравко2 years agoLegendary | Level 20
Aaahh... dwWithCat, On the platform you're trying static links cannot be used! 🤷
Try use dynamic button creation with the same content.
At the time Dropbox script loads, it expect all links are already loaded and starts immediately enumerate them and so. In your case at that time there is nothing loaded yet. That's where your issue is coming from.
Hope it's a bit more clear now.
- Greg-DB2 years ago
Dropbox Community Moderator
dwWithCat Здравко is correct; for a situation like that, you'll need to instead follow "Programmatically creating Saver buttons" or "Triggering the Saver from JavaScript".
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!