Back

[SOLVED] best way to store and structure the images for a specific place

  • 0
  • Databases
  • Storage
Faisal7
2 Nov, 2023, 13:43

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.

TL;DR
User wants to know the best way to store and structure images for a specific place. They are considering storing images in storage and linking them in the database. They are asking if it is a good idea and if they need to create a bucket for each place.
ideclon
2 Nov, 2023, 14:32

You could have a single images bucket and keep the IDs for each file in the DB

Faisal7
2 Nov, 2023, 16:52

ok thank you. I would go ahead then with this approatch.

Drake
5 Nov, 2023, 21:21

[SOLVED] best way to store and structure the images for a specific place

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more