ostoe / Ob-ImagePastePlugin

MIT License
6 stars 3 forks source link

image wont automatically save to folder #9

Closed wtrflsh closed 3 months ago

wtrflsh commented 3 months ago

Every time i try to Ctrl+V an Image ive saved in my Clipboard, it does absolutely nothing, until i manually add said image to the set Attachments Folder. Then it automatically inserts as soon as the image is put in.

So in short, there is no issue with recognizing the image path and/or file, just the automatic creation of it is not possible.


Expected behavior: The pasted Image gets directly embedded and a file is created inside of the preset Attachments Folder

What i got: No automatic file creation, and no image embed before manually creating file in desired folder


My Settings are

wtrflsh commented 3 months ago

i found the fix. it has to do with obsidians attachment settings.

i had it set for "custom folder within" which always created an empty .attachments folder on first paste, but then wouldnt allow me to paste again until i deleted the .attachments folder.

fixed it by setting the default settings to "Vault Folder". Not a Plugin issue but i hope this might help someone ^^