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

kunaljx86's avatar
kunaljx86
New member | Level 2
4 years ago

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...
  • kylea's avatar
    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).