How to use JavaScirpt with anki Image Gallery in Anki?

2f4yor's Avatar


17 Nov, 2015 06:11 AM

Hey everyone,

  I am trying to make a special flashcard which has a picuture slide show. So i am loading all my pictures into a folder and then on the special flashcard if you click a button (next) the next picture of this folders shows up. I therefore started just to have one picture and now I am trying to click onto this picture so that another picture shows up. Unfortunately almost every example I found therefore on the internet needs Java Script and cannot do this with only HTML code.

My Question here is:

 How to use JavaScript within Anki Flashcards

Is there a way for a picture gallery by only using HTML code?

 Best Markus

  1. Support Staff 1 Posted by Damien Elmes on 17 Nov, 2015 08:50 AM

    Damien Elmes's Avatar

    I'm afraid we don't have the resources to offer HTML and Javascript help here, so I'll move your question to the community forum.

  2. 2 Posted by 2f4yor on 17 Nov, 2015 02:32 PM

    2f4yor's Avatar

    This comment was split into a new discussion: subfolders

    Actually I have another problem:

    I am using an Iphone5 and if I want to see pictures within the AnkiApp on a card on my Iphone I have to store every picture or every file on my PC in this folder:

    C:\Users\Markus\Documents\Anki\Benutzer 1\

    If I store it into another folder everything works fine within the pc anki program,
    but as soon as I try it on my mobile phone the pictures are not loaded because I want to put them in a subfolder.

    The Problem here is: with more and more data the folder becommes very crowded that is why I want to ask if there is a addon or anything else to solve this problem, so that I can use subfolders for storing files(images,videos,...) and that they are displayed as well on my phone.

    Best wishes

    PS: .png ; .gif files as images are not working on iphone
    That is why you alwayse have to use .jpg files for your images

  3. System closed this discussion on 22 Feb, 2016 11:50 PM.

  4. Damien Elmes re-opened this discussion on 23 Feb, 2016 10:50 PM

Comments are closed, but you can start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac