问题
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.
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).
Save the file to the Desktop, keeping the original name and extension.
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