dialogue cards behaviour: show/hide image upon flip

Avi Megiddo's picture

Feature Request: Dialogue Cards --> Behavioural Settings --> Show image on flip only / Hide image on flip.

It seem that now the default behavior is to always show the image.  This is great for the initial learning phase.  Imagine if there were an option to initially hide the image in a dialogue card.  I believe this would be the natural progression in the language learning process.  Take the Arándanos azules / Blueberries example from https://h5p.org/dialog-cards.  After learning a set of vocabulary words, it would be nice to have a quizzing component in which only the word Arándanos azules is visible (and audio), with NO image.  Learners could quiz then themselves, and then flip to check both the image and the word 'blueberries' , confirming that they indeed learned the word or didn't.   This would add a quizzing phase to the dialogue card content type.  Alternatively, the image could be shown initially and hidden on flip, creating a quiz that starts on the flip side.

Thank you so much for considering this!

Avi

Summary: 
Only show image on backside (for more difficulty).
Content types: 
Issue Status: 
tomaj's picture

Hi Avi,

Great suggestion!

And it should be super easy to implement too. (So if anybody in the community wants to create a pull reqest feel free).

- Tom

programmieraffe's picture

For those finding this via Google (like myself):

a) Open pull request on github https://github.com/h5p/h5p-dialogcards/pull/11

b) A quick&dirty hack on wordpress, only works with h5p embedded from internal wordpress, not external h5p iframes

https://gist.github.com/programmieraffe/821d8b7b474977a018206403f584699c

Image is shown on turnover, not when showing the card first

Cheers!

BV52's picture

Hi programmieraffe,

Thank you for the info.

-BV52