We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
kunaljx86
4 years agoNew member | Level 2
Get shareable links that I can use in <image href>
Hello, I would like to use Dropbox to store images received on my backend. I would also like to get access to the URL that I can directly use in <image href> in frontend. However, going through /uplo...
- 4 years ago
Generating a direct link for use in an <image href> isn't recommended.
Instead, I'd recommend one of two options:
- Use the Dropbox Embedder to display files. Instead of an image href, you'd use a Dropbox shared link (which you can create with the sharing API) as the input to a javascript snippet.
- Use the thumbnail API to get efficient thumbnails of content, and serve them through your app (and power downloads with our download API, if applicable).
kylea
4 years agoDropbox Staff
Generating a direct link for use in an <image href> isn't recommended.
Instead, I'd recommend one of two options:
- Use the Dropbox Embedder to display files. Instead of an image href, you'd use a Dropbox shared link (which you can create with the sharing API) as the input to a javascript snippet.
- Use the thumbnail API to get efficient thumbnails of content, and serve them through your app (and power downloads with our download API, if applicable).
- kunaljx864 years agoNew member | Level 2Ok thank you
- benfsmith3 years agoExplorer | Level 4
Does not recommended equate to not possible? I’m not trying to host in a web page, yet still need a direct link
- Greg-DB3 years agoDropbox Staff
benfsmith While the Dropbox API does offer the ability to programmatically create (temporary) direct links, the documentation notes "This URL should not be used to display content directly in the browser.". I can't speak to whether or not this would happen to work for your use case in practice, but Dropbox doesn't officially support it, so we wouldn't be able to offer help with any issues that may arise with that.
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 6 days 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!