Obsidian_to_Anki icon indicating copy to clipboard operation
Obsidian_to_Anki copied to clipboard

Images aren't working

Open slabzzz opened this issue 3 years ago • 5 comments

Running version 2.1.43. Setup everything good. No idea why it's still not working.

slabzzz avatar May 26 '22 23:05 slabzzz

I am running Obsidian 1.1.9 and Obsidian to Anki plugin version 3.4.1. The clipboard images pasted into obsidian does not show us as images when synced to Anki. It just shows ![[Pasted Image 1891891.png]] in text form. I have set-up ruled style using Regex for Basic Notetype.

shammahrashad avatar Feb 13 '23 18:02 shammahrashad

Found the error.

The problem is with Obsidians native metadataCache which does not detect image embeds if the last two $$ in display math mode is on a new line and/or if the image link after the latex bit is NOT on a new line. I can confirm that it is not an issue with the plugin but rather with Obsidian so to fix it simply put all the image links on a new line. Make sure you do this for all instances in the file.

shammahrashad avatar Feb 14 '23 10:02 shammahrashad

I can add images on the desktop program, but not from obsidian (neither lcoal images nor hosted ones). The name of photos get a strange file name when arrive to anki. https://i.imgur.com/CYcgWCj.png

danebace avatar Jul 10 '23 00:07 danebace

Same issue as danbace

Sohail-XD avatar Mar 27 '24 09:03 Sohail-XD