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

Nikki_63's avatar
Nikki_63
Helpful | Level 6
3 months ago

Embedder and tags

I have a HTML page that offers a textbox in which the viewer can write certain keywords. After clicking ENTER, the images are loaded in iframes according to the keywords. My problem is: how do I write this is JS so that it can be integrated on a Dropbox Embedder app? Also, I did not find a way to know if I should tag all images in Dropbox or modify their metadata in advance? I expect that all images with same keyword are shown in page, inside their respective iframes.

  • Nikki_63, I don't know how to say more clear that Embedder shows exactly what passed as link and nothing else. You may use it in your galleey, but Embedder cannot organize such a galleey on its own! Yes, you may use something like the example you linked to (with or without Embedder).

     

    PS: You may get familiar with Embedder while experimenting here.

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Hi Nikki_63,

    Embedder shows exactly what you point to using the shared link as argument. It's up to you correct link selection based on users input. No any data of your image files need to be modified.

    Hope this helps.

    • Nikki_63's avatar
      Nikki_63
      Helpful | Level 6

      Hello, thank you for your response! So, the tags I put on images in Dropbox will be considered "part of the image", so to speak? Sorry to ask such lame questions, I am a novice wanting to learn as much as possible.

      • Здравко's avatar
        Здравко
        Legendary | Level 20

        Hm... 🤔 To be honest, I'm not certain what exactly you mean. Dropbox never changes any file in your account, so there is no way any tag or other property to become "part of the image" or any other file. Such things can be associated to a file and, of course, you may use them as criteria for file selection/filtering, but it's up to you particular link selection on any type of criteria (including tags).

    • Nikki_63's avatar
      Nikki_63
      Helpful | Level 6

      Hello. So I really can't parse images tags with Embedder, right?

      • Здравко's avatar
        Здравко
        Legendary | Level 20

        Yes, with Dropbox Embedder you CANNOT parse anything but the expected Dropbox shared link URL.

        If you want to see what tag(s) particular file has assigned and latter decide whether to select it or not (with its appropriate shared link when you use Embedder), you may use /2/files/tags/get API endpoint (or corresponding SDK methods).

        Hope this clarifies matter.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 10 days ago
195 Following

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 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!