What is the best way to store images?
- In a special directory, for example:
public/images
; - In
base64
, in a database; - Another form (which I did not mention previously).
And why?
Note: I am using a MongoDB database.
What is the best way to store images?
public/images
; base64
, in a database; And why?
Note: I am using a MongoDB database.