i have a database collection, where i have stored some informations about a place e.g name address and so on. And each place could have multiple images. So i come up with storing them in storage and link all the images url/id in database. My first question is, is it a good idea to do so, if yes what is the best way to structure my storage? Do i need to create for each place a bucket? Would be happy for any help on that.
You could have a single images bucket and keep the IDs for each file in the DB
ok thank you. I would go ahead then with this approatch.
[SOLVED] best way to store and structure the images for a specific place
Recommended threads
- Migration from cloud to self-hosted fail...
Hi! I'm trying to migrate a small project from the cloud to a self hosted instance to play around but without any success! The migration process fails with the ...
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- getFilePreview , getFileView , getFileDo...
I am on Appwrite self hosted 1.8.0 I use the web sdk 21.3.0 I created a bucket and it has this permission (users:create) then i enabled the file security then ...