How to embed or attach an image onto a note by drag&drop?

Yes, I think you need 9.7.

It looks like yank, yank-media, and drag-and-drop are all different things in Emacs.

Have a look at customizing variable org-yank-dnd-method for drag-and-drop (see the excerpt below). It works on my end. I have a screenshot in another thread: Embed documents into nodes - #2 by nobiot

org-yank-dnd-method is a variable defined in ‘org.el’.

Its value is ‘ask’

Action to perform on the dropped and the pasted files.
When the value is the symbol,
  . ‘attach’ -- attach dropped/pasted file
  . ‘open’ -- visit/open dropped/pasted file in Emacs
  . ‘file-link’ -- insert file: link to dropped/pasted file
  . ‘ask’ -- ask what to do out of the above.

  This variable was introduced, or its default value was changed, in
  version 9.7 of the Org package that is part of Emacs 30.1.
  You can customize this variable.