I don’t completely understand what you’re trying to do. Are you trying to attach an image to a note? If so, you can simply use the build-in feature - click on the paperclip button, select your image, and it will be attached to your note.