2 Answers
2

You have to paste the contents of the image instead of the file. For example open the image in Preview, press ⌘A and ⌘C, open an information window for the target file in Finder, click the image well in the top left corner, and press ⌘V.

Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).