Add feature to add and create multiple cards from images at once in Anki

So I have been running into this problem where I need to create several hundred cards at a time from screenshots from another app, to learn that material.

To do this, currently, I take all the screenshots that I need with alternating screenshots.
One for each question and one for the answer(be it a scrolling screenshot to get all the information in one photo).

After that, I connect my phone via a USB to my laptop, go to image storage, and based on the details, which name the picture, select the required range.

I then copy this into a new folder on my computer, arrange them in ascending order of time of taking the screenshot and then copy their paths in Windows Explorer.

I then paste the paths into Excel and run a function to pick all these values, for example, in row A to row C for all the odd rows of column A and into row D for all the even rows of column A.

=INDEX($A:$A,ROW()*2-1) for row C
=INDEX($A:$A,ROW()*2) for row D

I then copy these rows C and D into a new worksheet entirely as values
Now my paths are C:.…\Screenshot123.png

I then use find and replace to remove "C:.…" with “<img src=” "
and replace “.jpg” with “.jpg”> "
To make it readable in html
and then export this worksheet as a CSV file

I also have to copy my images into the collection.media folder so that Anki can actually access this

The collection.media can be accessed by going into Tools ->Add-ons->View Files

Go back to one folder higher level
Go into the user folder
There is the collection.media folder

Finally, I go into Anki, click on import and and import the CSV file
Select the basic Card format
Choose the deck I want to add it to
And Enable HTML

Then hit import

Then I have to export this deck from my laptop to my phone via USB as an Anki collection package

As you can see, this is quite a cumbersome and tedious task to do repeatedly

What I want to suggest as a feature is that there should be an option to add multiple cards
In this feature, you will be asked to first select all the questions

So, first it redirects you to the gallery, and you select all the questions images
I must import them in the same order you selected them

After that, it prompts you to select all the answers, and you go through a similar process

For the part of editing the images, it can be something that is similar to Cam Scanner apps, where you are able to edit multiple pictures by scrolling through them
But this is more of a niche feature that may not be added, or more like something without which we can do.

Another approach to this can be where we select all the images in one go, and it sorts it as one question, one answer alternatively.
I think this approach will probably be simpler and easier to implement.

And then after importing, it just creates the deck
So much faster and simpler than the process currently have to follow to reach the outcome
My only option currently for the phone is to literally each image manually one by one into the front and back for the deck
It is very exhausting and time-consuming.

1 Like

You can do a lot of that with the Media Import 2 add-on. But I don’t think you’ll be able to put images in multiple fields with it. Needing images for the front and back of a card seems like the most niche part of your process. [It does make one wonder – are you doing all of this with screenshots of text? It would be much easier to just import the text.]

Even in your laborious process, you’ve got some unnecessary steps.

  • If you access your collection.media frequently – why don’t you have a shortcut to it, instead of navigating in through the add-ons folder?
  • After you import your CSV on your laptop, you don’t need to export it as an APKG, you can just sync your collection to via AnkiWeb.
1 Like

No, both the question and answer need images because several questions have diagrams
So, can’t just have text in one of the fields and need an image in both of them

For the collection.media folder part, I was giving steps to reach collection.media for anyone following along
But in my computer now shows that folder in quick access, so it is not so much of the troublesome part
The main problem is creating the CSV file every time, which is the most tedious part of the process

I think your process is might be more unique than you think.

But before this would be implemented in AnkiDroid, it should probably be implemented in Anki desktop, and I think that’s unlikely. Pursuing this as an add-on – maybe a fork from Media Import 2 – probably has a higher chance of success.