Batch Download Pictures From Google Images
0.01MB. Updated 2024-05-02.
The author has shared 39 other item(s).
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.0-2.1.19 (Updated 2022-12-22)
- 2.1.20-2.1.49 (Updated 2023-05-27)
- 2.1.50-2.1.65 (Updated 2023-08-06)
- 2.1.66 (Updated 2023-09-26)
- 23.10-24.04+ (Updated 2024-05-02)
To download this add-on, please copy and paste the following code into Anki 2.1:
561924305
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.
Reviews
on
Worst add on I have ever used.......... Complete trashhhh
on
I'd live to use this but I'm getting the following error - appreciate a fix if possible :)
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-14.5-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-07-24 20:47:51
Add-ons possibly involved: Batch Download Pictures From Google Images
Caught exception:
Traceback (most recent call last):
File "/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 401, in <lambda>
a.triggered.connect(lambda _, b=browser: onAddImages(b))
File "/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 394, in onAddImages
updateNotes(browser, nids)
File "/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 47, in updateNotes
from PIL import Image, ImageSequence, UnidentifiedImageError
File "/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/Image.py", line 103, in <module>
from . import _imaging as core
ImportError: dlopen(/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so, 0x0002): tried: '/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so' (no such file), '/Users/chrispetrie/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
Comment from author
Anki 2.1.65 is too old. I very much recommend updating Anki to the latest version, 24.06.3 Qt6.
If you don't want to do it, go to the Tools > Add-ons > Batch ... > View Files, remove the "vendor" subfolder and restart Anki. Maybe the add-on will work, maybe it won't and there will be a new error.
on
Does not generate images for me. I tried it on a simple card (Front: "cat" pasting to "Image" field). It says it processes image but it does not paste anything. I also tried setting it to "Overwrite" and used the code in the debug console that the author suggested to someone else.
Luckily, the Baidu add-on seems to work! But this one doesn't for me.
Comment from author
The add-on works for me, but maybe Google is rolling out some changes to the web page and I'm yet to see them.
Anyway, the best course of action is to run the simplified version of the add-on in the debug console - https://docs.ankiweb.net/misc.html#debug-console
https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714
If it prints "Found: 100 images", the add-on should behave the same and work too.
If it prints "Found: 0 images", a new issue can be created at https://github.com/kelciour/batch-download-pictures-from-google-images/issues with a txt file attached that contains the output from the debug console, and maybe I'll look at it and try to fix some weeks later.
on
Working on 24.06.03 tks a lot.
on
Thanks a lot!
on
Very Good addon! Is there a possibility to make the process automatic? I mean, when i add a card that has the picture field empty, the addon to automatically do a query and insert a picture?
on
Work with "overwrite" but now i can't remove the image :)))))
p.s i removed it using code
on
Now it works perfectly! Thank you for the upgrade!
on
Sadly, also with a new version, its not adding any images. The settings are correctly. How can I fix this?
Source Field: Norwegian Word
In category Name:
Target Fild: Image Field
If not empty: Append
Comment from author
I don't know. Maybe try to use "Overwrite" instead of "Append". The field could look empty, but it might include some invisible HTML tags, and the add-on will skip it.
It seems to work for me. I created a few new cards using the Basic note type with the "cat", "dragon" and "window" in the Front field and used the add-on to add new images.
Maybe try to run this code in the debug console - https://docs.ankiweb.net/misc.html#debug-console
https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714
It's a simplified version of the add-on. If it works, the add-on should work too. It should print out something like "Found Images: 100".
on
Absolutely essential timesaver! <3 I create ANKI vocabulary databases for myself and my students and I honestly can't imagine working without this tool.
Big props to the people keeping this add-on up-to-date despite frequent version compatibility issues!
Comment from author before post was edited
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, consider updating your review.
on
Works great!
on
After updating anki and the add one everything works great
Comment from author before post was edited
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
EDIT: Issue verified as fixed on 2024-04-29.
__________________________________________
Currently not working for me in Anki Version 2.1.66 (Python 3.9.15 Qt 6.5.2 PyQt 6.5.2)...
Processes images but without output pictures into the notes
Comment from author before post was edited
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
You never know the value of something before you lose it. When addons stop working it was a disaster for me) but now it works!)) Thank you dear author for supporting this addons, for developing it. Wish you best of the best.
on
Currently working well. Absolute time saver! Thanks kelciour!
on
My Anki version is this: 23.10
I am based in America.
I downloaded this add-on version: "561924305"
However, it doesn't work. It show it is processing, but nothing shows up.
Then I noticed that the title of the main menu it says: Batch Download Pictures From *Baidu* Images and not Batch Download Pictures From *Google* Images.
What may be wrong here? thanks!
------------------------------------------------------------------------
IT WORKS!
I read your reply and I managed to make it work. The *Baidu* title thing threw me off. I thought I had downloaded the wrong add-on version. This add-on works like a charm now.
Thanks for your hard work!
Comment from author before post was edited
The *Baidu* in the title was a mistake on my part. It should be good now.
I tested the add-on with one card and it seems to work for me.
Maybe try to run the following code in the Debug Console - https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714
If it works, the last line should contain something like "Found Images: 100".
https://docs.ankiweb.net/misc.html?highlight=debug#debug-console
Try updating to the latest Anki version, if you can.
Maybe there's a bug in the add-on but I can't reproduce it and I'm not sure what went wrong.
on
Working again, very helpful add-on
Comment from author before post was edited
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
The tool is amazing! The developer is very responsive when errors arise with the tool.
Comment from author before post was edited
The add-on was recently updated. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
totally fixed. You're rock man!
on
still doesnt working. error((((
Comment from author
Try updating to the latest Anki version if you're on Anki 2.1.66 or lower. The last fix was for Anki 23.10-24.04+.
on
Huge time saver.
on
Doesn't work
Comment from author
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, please update your review.
on
Didn't work. Got it installed, got the menu up with 2 cards selected. Got a 400 Client Error: Bad Request error.
Comment from author
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, update your review. Thank you.
on
doesn't work anymore, worked until 4 days ago where no images come when the process says finished
Comment from author
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
After trying to add images to cloze cards I get this error message after a while:
Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-13.3.1-arm64-arm-64bit
Traceback (most recent call last):
File "/Users/DaniDevito/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 434, in <lambda>
a.triggered.connect(lambda _, b=browser: onAddImages(b))
File "/Users/DaniDevito/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 427, in onAddImages
updateNotes(browser, nids)
File "/Users/DaniDevito/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 369, in updateNotes
r.raise_for_status()
File "requests.models", line 1021, in raise_for_status
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/search%3Fq%3DParts%2Bof%2Ba%2Bhabit:%26safe%3Dactive%26ie%3Dutf8%26oe%3Dutf8%26ucbcb%3D1%26udm%3D2&q=EhAmA4ABE_BRgKn4tl7-vdYAGI3qsLAGIjAUqQVLxmxDiTTSL_1LFTXRkjgc6-yIwXXSP2AhZgZo7SWXubAU2xR0KOWAY2GrD0syBWpjbmRyWgFD
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AwesomeTTS - Add speech to your flashcards ['1436550454', 2024-02-08T22:42, 'None', '']
Batch Download Pictures From Google Images ['561924305', 2024-02-21T09:38, 'None', mod]
Batch Editing ['291119185', 2023-10-25T17:38, 'None', '']
===IDs of active AnkiWeb add-ons===
1436550454 291119185 561924305
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
HyperTTS - Add speech to your flashcards ['111623432', 2024-02-10T04:02, 'None', mod]
on
Simple, easy, does what it needs to!!
on
The best addon
on
"It's unbelievably amazing, you are a Maestro"
on
Amazing!
Auto meme download made my day)
Now its pleasure to learn words)
on
this is truly such a life saver and works perfectly for me! would have taken me hours otherwise
on
I think this is a really cool, and it's one of the few batch download picture add-on that exist. However, it seems that it does not work on ARM Mac
Comment from author
I think, the add-on will work on ARM Mac if you on Anki 23.10-24.04+. If it's not, please post the error message (Copy Debug Info).
on
Works very well for me. Anki 23.12.1 running on Manjaro Linux (KDE Plasma, kernel 6.6.12-1).
on
Saved a lot of my time
on
К сожалению, не работает. То ли из за ЕС, то ли на Linux.
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: Linux-5.10.0-26-amd64-x86_64-with-glibc2.31
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-10-19 18:08:28
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Batch Download Pictures From Google Images ['561924305', 2023-09-26T18:04, 'None', mod]
===IDs of active AnkiWeb add-ons===
1436550454 560814150 561924305 858591644
Comment from author
Maybe run this gist in the debug console and upload the output somewhere - https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714
If the gist works, the last line contains something like "Found Images: 100", the add-on should work too. Maybe reset the add-on config via Tools > Add-ons > Batch ... > Config > Restore Defaults, create a few Basic cards with the Front field containing something like "cat", "dog", "dragon", and use the add-on by setting the Target Field to Back in the first search query and "If not empty?" to Overwrite.
https://docs.ankiweb.net/misc.html?highlight=debug#debug-console
-----
If you're on Anki 2.1.65, install Anki 2.1.66 and update the add-on.
on
Finally works perfectly, thanks!
Comment from author before post was edited
Thank you for the report. It happens because one of the selected notes uses a different note type that doesn't contain the 'Back Extra' field.
on
Fantastic! It's working again. Thankyou so much for the work you do keeping this massive timesaver up and running.
Also for the benefit of people who are bamboozled with the settings, as I was at first ...
If you want to turn off the Image Resizer, then set the height and width options to "0".
You have to do this if you want to use the giphy option, otherwise you'll just get a resized still image, rather than a gif.
on
Hi I get the following error
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.2.1-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-09-12 21:16:47
Add-ons possibly involved: Batch Download Pictures From Google Images
Caught exception:
Traceback (most recent call last):
File "/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 401, in <lambda>
a.triggered.connect(lambda _, b=browser: onAddImages(b))
File "/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 394, in onAddImages
updateNotes(browser, nids)
File "/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/__init__.py", line 47, in updateNotes
from PIL import Image, ImageSequence, UnidentifiedImageError
File "/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/Image.py", line 103, in <module>
from . import _imaging as core
ImportError: dlopen(/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so, 0x0002): tried: '/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so' (no such file), '/Users/giuseppe/Library/Application Support/Anki2/addons21/561924305/vendor/PIL/_imaging.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Comment from author
The add-on was recently fixed. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
Hi
I am trying to use the add on in version 2.1.65. the add on is installed but when I tried adding images the Anki closes automatically and I am not seeing any images on restart. Can you please help?
Comment from author
The add-on was recently updated. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
I'm not able to reproduce the issue, but I tested it on the latest Anki version.
on
Could someone explain step by step how to install this plugin?
Because right know when I try to install via code I'm getting this message:
"One or more errors occurred:
561924305: Invalid code, or add-on not available for your version of Anki."
When I try to install via this file: batch-download-google-images-561924305.ankiaddon and then I try to "Add Google Images" I get the notification "Processed 1 notes" but nothing is added to the target field :(
I can also "Check for Updates" in the addons window, but then I get the info that this plugin "requires Anki <= 2.1.19".
Comment from author
The add-on was uploaded on AnkiWeb to support Anki 2.1.65 and the installation code should work now.
It's the same .ankiaddon file but with the updated User-Agent to fix no image results.
on
Video tutorial please
on
This is really neat. I do have a problem that is strange. Many google images come back with a long file name ending in a period, but then no extension. Because of this the Anki desktop program can pull and show the images, but the media check says that the images are all missing and the ones that are in the folder are unused. If I add .jpg in the html for the image on the card and change the same file to .jpg, then it works. However, when working with hundreds of images that takes the time saving feature of this out. If it's possible to force a file extension, then that would be solved. It took me forever to figure out that that was the issue!
on
Works fine on Anki - Version 2.1.54, just follow the github instructions. (Make sure to update "__init__.py", I missed it the first time)
After some time though, anki will disable the add-on and bug you that it's outdated, so you'll have to reinstall.
on
Unfortunately, it doesn't work in the newest ANKI application versions, 2.1.64. And stopped to work for .49
UPD.
Fixed that by downloading ANKI desktop with QT5 https://github.com/ankitects/anki/releases/tag/2.1.58 and fixing the add-on by following the instructions in https://github.com/kelciour/batch-download-pictures-from-google-images/releases/tag/v0.1.1-beta9
on
I manually installed this using the terminal.
```bash
uname -m # arm64
ghq get kelciour/batch-download-pictures-from-google-images
# change to directory
brew install PyQt5
python3 -m pip install pyuic5-tool
python3 -m pip install -t vendor pillow
pyuic5 -o designer/main.py designer/main.ui
zip -r ../myaddon.ankiaddon *
```
on
Sadly not working. anki - Version 2.1.54.
also don't want to B***h and moan, gotta give a huge amount of credit to the author for making this and having the upkeep to keep it going and help lots of people in their learning goals.
Comment from author
The add-on was recently updated. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
does not work. my version is 2.1.60
Comment from author
The add-on was recently updated. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
Processed 1 notes ...
won't stop
Comment from author
The add-on was recently updated. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
It worked with .49, just remember to choose "append" instead of "skip" since you probably have something in your note
on
Doesn't work with Version 2.1.56 😞
Comment from author
The add-on was recently updated. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
on
It works very well on 2.1.49. It is a pity that it does not work on anki .50+ but nothing that cannot be solved. Thanks a lot!
on
I don't know why I can't see the pictures. :( Seems to be an useful add-on though.
! Update ! : now that's work x) I don't why but everything seems good.
Comment from author before post was edited
The add-on was updated recently and it seems to work for me. If it doesn't work, maybe run this minimal example in the debug console - https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714 - copy the output and create a new issue at https://github.com/kelciour/batch-download-pictures-from-google-images/issues
https://docs.ankiweb.net/misc.html?highlight=debug#debug-console
on
It works again. A thousand of thanks
Comment from author before post was edited
The add-on was updated recently and it seems to work for me. If it doesn't work, maybe run this minimal example in the debug console - https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714 - copy the output and create a new issue at https://github.com/kelciour/batch-download-pictures-from-google-images/issues
https://docs.ankiweb.net/misc.html?highlight=debug#debug-console
on
It already works; thanks so much.
on
Check out javamonkey79's recent fix.
https://github.com/kelciour/batch-download-pictures-from-google-images/issues/7
Thank you so much, dude!
on
Doesn't work anymore
Comment from author
The add-on was recently updated. It requires Anki 23.10-24.04+. If it works now, please update your review. Thank you.
-------------------------
The add-on was updated recently and it seems to work for me. If it doesn't work, maybe run this minimal example in the debug console - https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714 - copy the output and create a new issue at https://github.com/kelciour/batch-download-pictures-from-google-images/issues
https://docs.ankiweb.net/misc.html?highlight=debug#debug-console
on
So useful
on
It doesn't work for me in Anki 2.1.49 [Macbook M1 with Ventura public beta] (generally the addon works, I mean, I can go through all the process, but doesn't load the pictures to cards eventually) Does anyone know the solution?
Comment from author
The add-on was updated recently and it seems to work for me. If it doesn't work, maybe run this minimal example in the debug console - https://gist.github.com/kelciour/86bfa1bbcc256fbaa780ab725da14714 - copy the output and create a new issue at https://github.com/kelciour/batch-download-pictures-from-google-images/issues
https://docs.ankiweb.net/misc.html?highlight=debug#debug-console
on
Just what I was looking for to have a visual with my vocab. This is the youtube video I found out about this add-on and it helps learn how to use it: https://youtu.be/kCrVdvQ3EXc
Edit: Please update the add-on to work on the latest version of Anki!
on
Hope you would update.I would really like to try this add on
Comment from author
If it works now, please update your review. Thanks!
on
I really love this add-on. Please update this Author.
on
Please update 2022 version. I love this add on
on
Works - suggestion: Would love to choose a word for search, but thats only an idea. Thank you very much for your helpful tool !!
on
Saved me a couple hours today. svvvst's progress bar was a great UI improvement too.
on
Not being able to see the progress of downloads was an issue for me, so I took some time (more than I would have liked, getting to know Anki's source) to fix the progress bar. Those who would like to update their add-on can download __init__.py from the linked github repo and replace that file in %AppData%\Roaming\Anki2\addons21\561924305 (and the applicable folder on Mac/Linux).
https://github.com/svvvst/batch-image-downloader-anki
All credit to Nickolay--this is just really a bug fix, though I may continue working on this to serve my own usage.
on
Every time I try to add add images to some specific cards they end up with a corrupted file attached and Anki telling me that me that I'm referencing to files that doesn't exist.
I was going to leave a negative review but since everything seems to work fine when I pulled the images from Getty Images (for the exact same cards) I guess everything is ok, nevertheless, it would probably be a good idea to solve this issue (assuming that other people are dealing with it).
on
Great add-on. I was getting an error that would make adding images to multiple notes really annoying, as some words would cause this error (or rather the image results for these words) and stop the process for the rest of the notes. If you face an error that ends with something like this at the end of the error report window:
python return six.raise_from( File "<string>", line 3, in raise_from <class 'urllib3.exceptions.LocationParseError'>: Failed to parse ...
then you can add these two lines to the add-on to fix it:
except requests.packages.urllib3.exceptions.LocationParseError:
pass
They have to be added in the add-on's __init__.py file at line 274, so it would look like this there (other than these two lines, the rest was already in the add-on's code):
images.append((fname, data))
cnt += 1
if cnt == img_count:
break
except requests.packages.urllib3.exceptions.LocationParseError:
pass
except requests.exceptions.RequestException:
pass
except UnicodeError as e:
# UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
# https://bugs.python.org/issue32958
if str(e) != "encoding with 'idna' codec failed (UnicodeError: label empty or too long)":
raise
return (nid, fld, images)
You can find this file by Tools -> Add-Ons -> [select the add-on, then click] View Files.
This should open the location where the add-on is saved on your computer. Open the file __init__.py with some editor. If you don't work with code, do not open it with somethign like LibreOffice or Microsoft Word, but take the plainest text editor you have. Then find the right place by looking for the lines I included up here that are already in there and add the two new lines. The spacing to the left of the code is very important in the programming language python, so make sure the "except" and the "pass" of the added lines has the same amount of whitespace to its left as the two lines with the "except" and "pass" below (with the RequestException that is already in the code).
Save the file and restart Anki.
Weirdly enough, this fix does not skip the note that causes the error, as I would expect, but actually finds some images that can be parsed and saved. Then again I spent more time writing this answer than understanding the code :-)
on
useful
on
This add-on has a bug in Anki 2.1.49. As I hit start, it doesn't show the progress bar. I contacted the author and they said to just wait it out as add-on is downloading images in background, just the progress bar is not showing. Hope this helps someone.
on
Nice
on
AMAZING, thank you so much!!!
on
Great work.
on
It works great on Mac and Anki 2.1.40.
It's very useful for learning second language. I have no idea of program language and your wonderful work saves much of time of mine.
Thank you so much!! :-D
on
Good
on
Exactly what I needed, was simple to use and worked on the first try! Thank you!! My Spanish flashcards are a lot better thanks to this add-on.
on
This is awesome, but because I'm learning Chinese so sometimes the Google/Bing/ others search engine won't show a appropriate image for the word. Can you add the baidu search engine too? That would be amazing and really helpful for all the Chinese language learner. Thank you so much again~
on
Cool
on
This looks amazing, and your support here is fantastic too!
Unfortunately, I, too, am receiving an error, and no images being added - I really hope that you could help, as I'd love to be able to use the addon:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-04-05 13:47:58
Caught exception:
Traceback (most recent call last):
File "anki
otes.py", line 106, in _fieldOrd
KeyError: 'Front'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\D\AppData\Roaming\Anki2\addons21\561924305\__init__.py", line 368, in <lambda>
a.triggered.connect(lambda _, b=browser: onAddImages(b))
File "C:\Users\D\AppData\Roaming\Anki2\addons21\561924305\__init__.py", line 361, in onAddImages
updateNotes(browser, nids)
File "C:\Users\D\AppData\Roaming\Anki2\addons21\561924305\__init__.py", line 214, in updateNotes
w = note[sf]
File "anki
otes.py", line 111, in __getitem__
File "anki
otes.py", line 108, in _fieldOrd
KeyError: 'Front'
Comment from author
> KeyError: 'Front'
It looks like one of the selected notes has a different note type and doesn't have the Front field.
Maybe use the sidebar or search bar to select cards with only one note type.
https://docs.ankiweb.net/#/browsing?id=sidebar
https://docs.ankiweb.net/#/searching?id=tags-decks-cards-and-notes
on
Спасибо! Это замечательное дополнение!
on
Took a while to figure out that I just had to change the 'if not empty?' option to append. Also set the target field.
on
Love you for this!!!!
on
You, sir, are a legend! Thank you very much!
on
Thanks so much for this awesome idea. But l could not manage to do it:) l changed the target field and l click on start and then it says processed but nothing changes on flashcard. Can you help me about it please.
And l also wanted to delete it and download it again but i could not delete it either:) l had this warning:
Unable to update or delete add-on. Please start Anki while holding down the shift key to temporarily disable add-ons, then try again.
Debug info: [WinError 124] None: 'C:\\Users\\mee\\AppData\\Roaming\\Anki2\\addons21\\561924~1'
Heyyy, thanks so much for the fast reply:) i did what you said and it worked. i realized that the target place should be empty. On my previous attempts i targeted fields that are filled with some words or sentences. After i tried with my main deck to an empty field, then it worked :)))
I have thousands of cards to memorize so l can not tell you how important it is for me!
Comment from author before post was edited
Thank you too!
I'm not sure where's the problem, but to quickly test the add-on,
1. Create a new Anki profile (File - Switch Profile)
2. Create a new Basic card with "cat" on the Front.
3. Open the add-on and set the "Back" field as the target field.
4. Click Start.
The "processing" message should disappear after 15 seconds or sooner.
If it doesn't work, maybe contact me by email or create a new issue on GitHub - https://github.com/kelciour/batch-download-pictures-from-google-images/issues
To delete the add-on, just do what Anki says.
> Please start Anki while holding down the shift key to temporarily disable add-ons, then try again.
on
working as expected
thank you
xxx
on
Where have you been all my life?
on
Great add-on that has saved me loads of time. Many thanks to the developer.
on
One of the very top Anki add-ons. A superb gift to humanity!
####TOP TIP####
If you need to use a combination of source fields, combine this add-on with the also excellent Advanced Copy Fields.
#############
on
work, thanks
on
Great idea. Thanks a lot. I hope this addon can download images for each word of cloze anki. It'll be awesome.
on
Great add on that makes adding images pretty easy, but doesn't work great for Chinese cloze deletion.
To the developer: Please allow a little more customization of what will be searched. I like the idea of auto searching cloze deletions but because I'm learning Chinese this doesn't really work for me. Chinese words are usually made up of two characters. When you only search one character you usually just get a drawing of the character. Nothing really related to the meaning.
Example:
我们要用{{c1::科}}学的方法来教学生。
searches: 科
returns image of: 科
The word is 科学 meaning science. 科 by itself means something about levels, deparments, or branches. Since it isn't really just used as one character I'll get back a drawing of the character itself or something irrelevant.
on
I'm really LOVING this AddOn! It makes studying so much more fun
on
Super, super useful!! Thank you!! Will help me deal with those cards that I never can seem to remember!
on
I had some difficulties initially whereby it would just load forever if I tried to pull in photos from Google Images. After a bit of investigation, I think this may be because some weird image formats were occasionally downloaded (file types that were not .PNG or .JPEG). Instead, I tried pulling images from the other sources (getty, shuttershock, etc) and it worked perfectly for 600+ anki notes all at once.
Overall, very quick and easy to use. You've saved me tens, if not hundreds, of hours on future flashcard creation - Thank you very much!
on
Simply the best!
on
This amazing addon was the last piece I needed to finalize my Anki setup. Very highly recommend!
on
This is so amazing! I'm adding German memes to all my flashcards - because now I can.
on
I love you
on
Can't believe how useful this is. Well made. Much appreciated. It's a shame to see negative reviews from people who never changed it back to positive, even after the dev fixed their problems...
on
ABSOLUTELY ESSENTIAL for all language learners !!!
Images on cards ARE useful, but many of us waste way too much time trying to find the 'right' images.
This marvellous addon should, once and for all, put paid to this 'Image-FOMO' — have (more or less pertinent) images on all cards, yet, don't get an*l about trying to find them :D
.
on
Good stuff
on
After some playing around with it, I finally got it to work.
UPDATE: THIS IS A MUCH BETTER ADDON THAN I THOUGHT!!! I can choose from which field it picks the word and into which field it adds it! It's a pure bliss once I got the hang of it.
You're a life saver. Just awesome.
on
Thank you! works beautifully! thank you for sharing this time saving addon.
on
Hi, can you help me? I have 2.1.15 Anki, but I can't find "menu Edit":(
I want to use your add-on to add images to my cards, but I can't:(((
1. Open the card browser - select a few cards - menu Edit - Add Google Images.
2. Select "Source Field".
3. Select "Target Field" instead of "<ignored>".
4. Select how many pictures to download. (optional)
5. Set the maximum width or height. (optional)
6. Click "Start".
Comment from author
https://imgur.com/a/GeVAnt7
on
The first your recommendation is working.
thanks a lot
*************************************************
Your plugin does not work for me.
Please help with it.
After the last update I got such an error:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.26 (arch-linux-2.1.26-1) Python 3.8.3 Qt 5.15.0 PyQt 5.15.0
Platform: Linux
Flags: frz=False ao=True sv=1
Add-ons, last update check: 2020-07-12 13:19:31
Add-ons possibly involved: Batch Download Pictures From Google Images
Caught exception:
Traceback (most recent call last):
File "/home/x/.local/share/Anki2/addons21/561924305/__init__.py", line 368, in <lambda>
a.triggered.connect(lambda _, b=browser: onAddImages(b))
File "/home/x/.local/share/Anki2/addons21/561924305/__init__.py", line 361, in onAddImages
updateNotes(browser, nids)
File "/home/x/.local/share/Anki2/addons21/561924305/__init__.py", line 47, in updateNotes
from PIL import Image, ImageSequence, UnidentifiedImageError
ImportError: cannot import name 'UnidentifiedImageError' from 'PIL' (/usr/lib/python3.8/site-packages/PIL/__init__.py)
Comment from author before post was edited
Thank you for the report. Since you're using Arch Linux, I'm not familiar with it, but I guess, you're running Anki from source or something similar, sys.path in Anki contains local Python libraries and Pillow is a bit outdated. It might take some time before the add-on will be updated and at the moment I can think of two possible ways to fix it.
1. Update Pillow to the latest version, i.e. close Anki, open your terminal and run the following command.
python3.8 -m pip install --upgrade Pillow
2. Anki - Tools - Addons - Batch Download... - View Files - open __init__.py in any text editor and replace line #32
from
sys.path.append(os.path.join(os.path.dirname(__file__), "vendor"))
to
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "vendor"))
then close it and restart Anki.
on
It works! ( ͡° ͜ʖ ͡°)
on
Great add-on!! Good work!!
on
breathtaking
on
I want to add images to same field without overwriting. is it possible?
As you said, Nothing happens if both fields contain some words or meaning and if I add some pictures to same field until checking the "Overwrite stuff".
-------------------
Working super good :)
Thank you for saving my time to add images manually.
You are Rock!!!!
-------------------
There are a few bugs in it.
1. It is not working when I have TTS sounds related to words. such as "visual [sound:collins!@#!$.mp3]" not working.
If dont have TTS sounds, It works.
2. Pictures are just right next to the letter or meaning, So I had to press "Enter key" one by one.
I hope they will fix it next version. :)
thank you so much :)
Comment from author before post was edited
Yes, it's possible. I'm not sure when the add-on will be updated next time, it will unlikely happen this month, but it can be easily added on your own. I haven't tested it, but it should work if I didn't miss something.
1. Anki - Tools - Add-ons - Batch Download ... - View Files... - open __init__.py in any text editor.
2. Replace the following line (it probably will be a line number 187 or a bit different)
note[fld] = " ".join(imgs)
with
note[fld] += " ".join(imgs)
i.e. replace = with +=
3. Save it, restart Anki, open the add-on and check "Overwrite if not empty".
on
Updated to 2.1.22
Not working on 2.1.15 and 2.1.16
Now works great!
Do you think its possible for making a mosaic of 2 or 4 images from the first 4 google results?
Sometimes the first result is not related to the word or expression
Great addon , thank you.
Comment from author
Maybe something with CSS and a bit of JavaScript. I'm pretty sure there's a better way to do it but maybe something like "Google Images 2x2 Template.apkg" - https://drive.google.com/open?id=1erFwUWJULWRBuI_U-ne4eN1aZl8Sh4MI
It's a sample deck with 3 cards in it. The card template can be found here - https://gist.github.com/kelciour/8aff82d8621e14723830cce13bc2ac6c
It looks something like this - https://imgur.com/L2PVbrs
To apply it to your own card template, create a new "Google Images" field and copy everything from the Front Template from the above link to your Front Template and/or Back Template, then copy ".google-images {...}, .google-images > div {...}, img {...}" from the Styling to your Styling section, i.e. everything except ".card" and ".word". Then use the add-on to add 2 or 4 pictures to the "Google Images" field.
on
This is great!
on
Very cool! Now I can see a picture on every card!
on
working great. Thanks
on
Super dope add on! Excellent work by the developer!
on
Works great!!! Thx for "giphs" function, it's perfect :D
on
Works well!! Thank you. Would it be possible to add the image in addition to the existing material of that field instead of completely overwriting it?
on
This add on works great now and saves a lot of time when adding pictures to cards. Developer was quick to respond and fix bugs and really cares about his add-on. I would really recommend this add-on for visual learners!
Comment from author before post was edited
Thank you. I was able to reproduce it. Please update the add-on. It should be fixed now but options to resize pictures will be disabled since the add-on won't be able to find mpv video player.
If you'd like to resize pictures please install mpv video player.
1. Download mpv video player as *.7z from https://sourceforge.net/projects/mpv-player-windows/files/stable/
2. Unzip it somewhere.
3. Update the PATH environment variable - https://streamable.com/2b1l6
4. Restart Anki.
Hopefully, I'd have time to add a built-in resizer next week, but as for now it's the only option aside of maybe resizing them later using some external software.
----------------------------
I've just updated it. Could you try it again and let me know if it works or not?
on
Masterpiece, every bug is now fixed, and it works wonder!
Comment from author before post was edited
Thank you. I was able to reproduce it. Please update the add-on. It should be fixed now but options to resize pictures will be disabled since the add-on won't be able to find mpv video player.
If you'd like to resize pictures please install mpv video player.
1. Download mpv video player as *.7z from https://sourceforge.net/projects/mpv-player-windows/files/stable/
2. Unzip it somewhere.
3. Update the PATH environment variable - https://streamable.com/2b1l6
4. Restart Anki.
Hopefully, I'd have time to add a built-in resizer next week, but as for now it's the only option aside of maybe resizing them later using some external software.
----------------------------------
Thank you. This is a very strange error. Could you use Tools - Add-ons - Check for Updates and let me know if it works or not?
on
A well-devised, well-implemented and very useful add-on. kelcior even implemented multi-threading in response to a reviewer. Excellent work!
@the reviewer "scammed with some bulls*t image add-on": Maybe it was https://ankiimage.bigcartel.com/ ? To be fair, it did work for me (the version for Anki 2.0, at least).
on
Very efficient !
on
Stopped working.
on
As of 2-10-2020 it does NOT work.
on
google must have changed something on their end. this program and "Image search" no longer function and return 0 images.
on
Good
on
Good addon and thanks for the useful info and links.
on
Some asshole scammed me with some bulls*t image add-on for Anki. I regret that I didn't discover this before buying that other crappy add-on. The images are accurate like 88% of the time. Love it, and thank you, you've saved me a loot of time!
on
This is a real lifesaver! Just a quick question: For some reason it takes a really long time to download each image. About 3 to 6 seconds for each. I have an 11.000 card deck and it takes forever. Is this normal? It doesn't seem to be a processing limit on my computer. Could it be an internet speed thing? Thanks!
Comment from author
Thank you for the question. Yes, that's correct. It takes about ~3 or more seconds to download one picture. It takes ~750 ms to get search results from Google Images, ~750 ms to parse them and get the list of images, ~750 ms to download an image and ~750 ms to resize it if mpv is installed.
Could you please update the add-on via Tools - Add-ons - Check for Updates. I've updated the code to download pictures in parallel using multiple threads. It should work a bit faster now and something can be improved in the future to make it a bit faster.
on
it works but the images won't resize... could someone share the files (upload to mediafire or whatever) that we're supposed to put in anki??
Comment from author
The official site is https://mpv.io/
For Windows, it can be downloaded from https://sourceforge.net/projects/mpv-player-windows/files
on
Works really well.
on
nice. thank you.