Ghini / ghini.web

web and geo interface to ghini.desktop database
GNU Affero General Public License v3.0
4 stars 1 forks source link

store low-res pics in database documents #10

Closed mfrasca closed 7 years ago

mfrasca commented 7 years ago

mongodb database documents can contain binary data, as long as it's less than 16Mbytes. this looks good enough for pictures at low and high resolution. other considerations however suggest we do not use the database for big images, even if they might fit. if we do use the database for thumbnails, we want to send them immediately when the server sends the geographic information about the collection. if we use the file-system for pics at high res, we can choose to keep them somewhere else, so we do not consume available bandwidth to our server.

mfrasca commented 7 years ago

I have received (more than) a few pics by @Panamagic and I can use them as test case for the Tanager site. also, I have enough photos relative to the Cuchubo garden, and I only need put them somewhere on rino.