3 0
Sign in to rate

Localize Media

<10kB. Updated 2018-11-26. Only supports Anki 2.1.x.

Description

To use the add-on, select your cards in the Browse screen, and use the 'Localize Images' option in the Notes menu. The add-on will scan your cards for any remote media links and inlined images, eg: <img src="http://example.com/image.jpg"> <img src="data:image/jpeg;base64, ....."> [sound:http://example.com/file.mp3] If any are detected, the remote links will be downloaded, and the references converted into local references like [sound:file.mp3] instead. If you encounter an error while downloading, you can repeat the operation and previously localized notes will not need to be localized again. Updated 26 Nov 2018 to support downloading audio files as well. Updated 20 Aug 2018 to support converting inlined images into files in the media folder. Updated 23 Apr 2018 to fix the action triggering on other browser commands.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into the desktop program:

1293255374

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

Other Anki 2.1.x Add-Ons Ask a Question

Reviews

on 1553330251
Not sure it's working for gifs
on 1543235395
thanks 😊
on 1539363061
The source code for this add-on is also available at https://github.com/dae/ankiplugins/blob/master/localizemedia/__init__.py

So it seems to be an add-on from the anki-developer