Which is the best way to store images for expressjs, mongodb site?
问题 I'm new express, nodejs, mongodb. I'm building a website for a clothing shop. They want to upload images frequently, maybe every 2 days they will upload new images, and those images need to be shown on the website quickly, thumbnails. Click on the image will show detail the product, etc. My question is what are the best ways to store images? Store images into hard disk and just store the absolute path into database mongodb? Stored images as binary/base64 into database mongodb? How to load