Broken Images in AnKing Deck: Tried Everything, Need Ideas

I want to start by apologizing because I know this question has been asked countless times. Iā€™ve gone through multiple forums and threads, carefully following the guidelines for fixing broken images. Hereā€™s what Iā€™ve already tried:

  • Downloaded the AnKing media files from Google Drive.
  • Unsubscribed and resubscribed to AnkiHub after removing everything from protected fields.
  • Reset local changes and synced again.

Unfortunately, none of these steps have resolved the issue.

Iā€™ve noticed something, though: I originally downloaded the AnKing deck as an .apkg file given to me last year by an upperclassman. The cards added directly from AnkiHub (the deck with suspended cards that I havenā€™t yet unsuspended) donā€™t seem to have any missing media. However, the cards Iā€™ve moved into separate decks do show the problemā€”though not all of them. Itā€™s roughly 1 in every 15 cards, but itā€™s frustrating because some of the missing media (e.g., Sketchy images) is essential for answering questions.

I suspect that the media files are present on my system, but Anki isnā€™t able to properly link or display them. Thatā€™s purely speculative, though. Does anyone know a workaround for this? Any help or advice would be greatly appreciated!

Thank you for reaching out! Our moderators have been notified and will assist you shortly. In the meantime, you can get an instant response from me simply by @ mentioning my username`. Alternatively, start a private conversation with me (see screenshot below). If you ask me a question, I will do my best to respond using only verified information found in the official AnkiHub docs and the Anki manual.

You can also find answers to common questions in our FAQ and Docs.

Hello,

I would be happy to try to help. :slight_smile:

Can you clarify for me what it is that youā€™re attempting to do? Iā€™m a little less than clear about downloading media files from GoogleDrive and removing things from protected fields, or what the aim is.

In the vast majority of cases media is synced via the Ankihub add-on and there is no need for media files. Nor, particularly, can I guarantee that the files youā€™ve downloaded are suitable for the Anking deck.

In 99.99% of cases you can simply subscribe to the deck, hit sync, and give it a few moments for the media to sync to your device and thatā€™s that.

Happy to help however I can. :slight_smile:

Take this card for example, I went ahead and zoomed out so you can get a better picture of what I mean. Most of the images are present but there is a broken image file in extra. Iā€™ve been using ankihub for a month now and have synced with it many times, my media sync is currently idle, yet the issue still persists.

As for ā€œIā€™m a little less than clear about downloading media files from GoogleDrive and removing things from protected fields, or what the aim is.ā€, these were some fixes I had seen on different posts in the community and figured Iā€™d give them a try to see if it would fix it.

Like I said earlier I think there might be a problem with ankihub properly syncing cards that were in other decks when i had first started using it, for now thatā€™s my best guess. When i look at these cards via the ā€œview on ankihubā€ link they are present and I can copy them over, the problem is there are too many of these images missing and they are scattered everywhere. Thanks for getting back to me and let me know if there is anything else I can provide you with to get a better understanding of whatā€™s going on here.

Itā€™s unlikely to be related to which deck a card was in, as Ankihub recognizes cards by their unique note ID rather than card location and folks routinely update, and sync, all the time with all manner of deck and subdeck organizations. A few other things it could potentially be, though

That being said, letā€™s try to troubleshoot a bit and hopefully we can eliminate the most likely potential sources of conflict here. :slight_smile:

First off: can you double-check for me which version of Anki youā€™re currently using?

You can check this by clicking here:
image

Cool. And can you confirm for me that all of your add-ons are up to date?

This can be done by clicking on Tools - Addons - Check for Updates from your top menu bar within Anki

Yup, says no update available

And you did mention it in your first post, but just to confirm: you have reset local changes to the deck?

I did, Iā€™m not entirely sure if I did it currently since nothing changed, but I followed the directions of a post I found (this was about a week or so ago).

Okay. Just for due diligence letā€™s try it again and Iā€™ll link you the official tutorial just so that we know for sure all is in its right place: Resetting Local Changes

Give that a shot, hit sync, give it a few seconds and then let me know what, if anything, takes place. :slight_smile:

Went ahead and reset local changes to anking and zanki and nothing changed

Hmm. Just out of curiosity: why subscribe to both Anking and Zanki (Anking is based, in part, on Zanki so having both is going to involve a ton of overlap and redundancy in most cases).

Second, just to avoid the obvious: do you know how much spare storage space you have available on your machine?

Well I use my desktop and mac for anki, and I definitely have adequate storage on my desktop, but my mac has standard storage so I might want to start deleting things. I will say I have a lot of addons and many different decks, so I know itā€™s time to start deleting things, but i know thatā€™ll be a rabbit hole and will be a whole day kind of thing. You make a great point, Iā€™ve always had the zanki deck but it might be worth it to delete it. A question regarding that, what would be the best way to properly delete all the cards of that deck after unsubscribing from it on ankihub.

Storage issue isnā€™t always super likely, but of course itā€™s always a possibility (and Iā€™ve seen it be the cause before) so it is helpful to be able to rule it out.

How to go about deleting it depends on whether or not youā€™ve been using it, and how, or if, you want to preserve progress. Also depends on how many other decks, and potentially shared tags, you might have. But, I can try to walk you through the process if youā€™d like. :slight_smile:

I would actually really appreciate that, since itā€™s been an issue for a while. I figured I should dump unused media as well (just worried they might be needed later on or something). I already went through my addons and made sure to only keep ones I need or find useful.

First, I would go ahead and make a deck real quick. Doesnā€™t have to be permanent, but itā€™ll be handy for a few moments. This can be done by clicking here at the bottom of your main Anki screen:

image

Name it whatever.

Next go to your Browse screen, and you should see these three tags for the Anking Step Deck:

image

Click on one of them, then Command+A (on a Mac; I think control+A on PC?). This should select all of the cards associated with that tag.

From there, right-click, select change deck, and send them all to the deck you just created.

image

Repeat this for all three tags.

From here, we know that all of the Step Deck cards are in one location (the deck you just made).

Now from the Anki main screen you can delete any other decks you donā€™t want (also be sure to unsubscribe from them on Ankihub so they donā€™t return).

Once thatā€™s done, you can clean up any decks, or subdecks, or rearrange stuff however you want.

Once youā€™ve finished, you can either move the cards back into a home deck, or leave them where they are (doesnā€™t really matter, just personal preference).

This is basically spring cleaning, which I also have to do on occasion for all the reasons youā€™d imagine. :slight_smile:

One last question, last year at some point I remember having to duplicate cards for some reason but now I no longer need them. How can i ensure these cards are deleted properly, i remember having to change the QID or something of that sort to begin with using an addon to even let me do it in the first place, if you have any ideas let me know. Thank you so much again, really appreciate this, will let you know how it goes by tomorrow.

Hard to say without more info. Are they true duplicates (as in completely identical) and both copies are still in your collection?

If thatā€™s the case itā€™s fairly easy; from the Browse screen in Anki you can click here:

image

ā€˜Find duplicatesā€™ will bring them all up, and then you can delete whichever ones you want.

If theyā€™re not truly identical, itā€™s a lot harder since Anki doesnā€™t have a way to track down cards by similarity, unfortunately. Maybe there is an add-on that does something similar, but Iā€™m not immediately familiar with one off the top of my head.

Let me know if there is anything else I can help with. :slight_smile:

Hey so I figured out a solution to my problem, when I opened the file to the broken image in image viewer it was still not working, once I deleted the broken file it did end up working. So I figured Iā€™d use ankihubā€™s media sync and itā€™ll fix everything. I copied my collection media folder to my documents and then emptied my collection media folder in User for anki, let ankihub sync which ended up fixing my issue, after that I pasted my old folder to get images for my other decks and didnā€™t let it duplicate/replace existing files. That seemed to have fixed everything. I guess what happened is I had the broken media files in my folder present prior to using ankihub, and because it was present in the folder it didnā€™t end up properly syncing and replacing these files as it had already existed. Also as for what was slowing my anki down, it was the enhanced window viewer addon, which is unfortunate because itā€™s a lovely addon. Hopefully this would help someone who encounters the same problem down the line. Thanks for your input @Brian_BH and your help with fixing this. Have a great rest of your week.

1 Like