The process of uploading an image depends on your settings. Typically, when you upload an image from the editor, it creates an entry in the database, especially when storing it as a Blob. This entry can later be referenced for various purposes. Therefore, it is recommended to upload images directly from the editor.
I would appreciate more input from experts on this topic as there is still more to be explored on my end.