How to Optimize Image Insertion and Management with HUGO and Obsidian?

Hello, I recently built my own blog using HUGO, and I’m struggling with image processing. Firstly, I am an Obsidian user, and I really like to keep all my images in a single folder. For example, my Obsidian has a dedicated Attachment folder for all the images in the library.

While exploring HUGO, I found many solutions and noticed that you have provided a lot of answers on this topic. I would like to seek your advice on the following. As of now, is creating an Attachment folder under the HUGO main directory and then pointing to assets/attachments via module.mounts still the best approach?

Is the configuration necessary? I noticed that even without these configurations, the images seem to render properly:

[markup.goldmark.renderHooks.image]
enableDefault = true

[markup.goldmark.renderHooks.link]
enableDefault = true

[[module.mounts]]
source = 'assets'
target = 'assets'

[[module.mounts]]
source = 'attachments'
target = 'assets/attachments'

I’m really looking forward to your guidance. I hope to achieve an optimal solution for image processing in HUGO combined with Obsidian.