Image doen't show in Anki

旧城冷巷雨未停 提交于 2019-12-14 03:26:48

问题


Front template:

Anki's media folder:

Front Preview:

Strangely, if I replace '7' by '8' in the Front Template, the image shows.


回答1:


The following steps solve the problem.

  1. Open the corrupt file in Preview (in my system Preview is the default image editor, so it opens automatically when the file is double-clicked).

  2. Save the file to the Desktop, keeping the original name and extension.

  3. Copy the file from the Desktop back to Anki's media folder, overwriting the original.

* It might be possible to combine steps 2 & 3 by simply saving the file back to the media folder, however Preview's Save... dialogue doesn't let me save back to the media folder, hence the extra step of saving to the Desktop.


See here for an attempt to solve this problem programmatically.




回答2:


I had the same issue, and it turns out I was using the wrong unicode character for double quotes ""

Just in case somebody else stumbles on this as well.



来源:https://stackoverflow.com/questions/43429714/image-doent-show-in-anki

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!