[SOLVED] How can I connect a storage file with a collection entry?
- 0
- Self Hosted
- Databases
- Web
- Storage
Hey, I would like to connect a storage file with a collection entry. Imagine an Instagram clone, where I have a "post" collection, that has "tags", "description" and so on. And now I need to add the picture to that post. How can I do that?
You can get the file ID and add it to the database as a string
So with the ID you fetch then the image when needed to display it to users
ok I see.. I was hoping to be able to do some kind of relation, as you can do with other collections
[SOLVED] How can I connect a storage file with a collection entry?
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...