Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

Nikki_63's avatar
Nikki_63
Helpful | Level 6
10 months ago
Solved

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.

9 Replies

Replies have been turned off for this discussion
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    10 months ago

    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
    10 months ago

    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
    10 months ago

    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
    10 months ago

    Thank you! English is not my primary language, this is why I could not write properly what I was thinking, I apologize for that.

    So, in order to display the images with a specific tag, maybe I should give up Embedder and try another approach, like the one on https://dropbox.github.io/nodegallerytutorial/ ? Or Embedder could be used to generate a gallery page based on tags?

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

    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.

  • Nikki_63's avatar
    Nikki_63
    Helpful | Level 6
    10 months ago

    So, this is what I thought when I read your response ("but Embedder cannot organize such a galleey on its own"): Embedder does not handle images tags, ever if the user chooses a tag to generate a page. I hope I got the point now.

    Thank you very much.

  • Nikki_63's avatar
    Nikki_63
    Helpful | Level 6
    10 months ago

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

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

    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 developers815 PostsLatest Activity: 2 days ago
278 Following

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