Your Moodle version

Question types: Drag and drop onto image

Maintained by Tim at Lone Pine Koala Sanctuary Tim Hunt, Picture of Jamie Pratt Jamie Pratt, Picture of Phil Butcher Phil Butcher
You can use text and / or images as drag items onto defined drop zones on a background image.


This plugin is part of set Open University. Plugins from the set work the best when installed together.

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.

Demonstration of this question type courtesy of Dot Garman.




Picture of Colin Chambers
Colin Chambers: Developer
Picture of Jamie Pratt
Jamie Pratt: Developer
Picture of Phil Butcher
Phil Butcher: Question type designer
Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Balázs Petróczi
    Mon, Nov 25, 2013, 2:38 AM
    I found that all images are rescaled to ~290 wide, which could be too small. Is there an administrative setting to change the default image size ?.
  • Just wondering . . .
    Thu, Nov 28, 2013, 5:09 AM
    In Moodle 2.6+, a drag and drop question worked perfectly. Testing other things in between routine and boring work.

  • Picture of Marius Jugariu
    Thu, Jan 9, 2014, 9:27 PM
    Is there a workaround for this plugin to work with duplicate images? For example I want the students to drag and drop some images into a crossword image but some of the characters repeat (as you would expect in a crossword puzzle) but I am struggling to make this work because If I put them all in the right place, if someone has three "R"s and puts one of them in the "wrong" box it will pick it up as incorrect although it is just another "R". Any ideas for the workaround with a crossword puzzle?
  • Picture of Phil Butcher
    Thu, Jan 9, 2014, 10:03 PM
    The trick is to make the 'R's infinite.
  • Picture of Marius Jugariu
    Fri, Jan 10, 2014, 1:07 AM
    Tried that but when setting up the question it only allows me to drag the "R" in one place, not multiple places so that I can define the right positions.
  • Picture of Phil Butcher
    Fri, Jan 10, 2014, 6:00 PM
    Marius, send me your email address (to and I'll send you one of our questions that demonstrates how things should work.

    Or wait until next week when (after many years of waiting) I'll have a public Moodle 2 that will demonstrate how things should work. Together with question examples that can be downloaded.
  • Picture of Marius Jugariu
    Fri, Jan 10, 2014, 6:19 PM
    Thanks Phil. I sent you an email.
  • Just wondering . . .
    Wed, Feb 5, 2014, 1:00 AM
    Hey everyone, please note the discussion here:

    Tim asking about getting these questions in the core.

  • Just wondering . . .
    Mon, Feb 24, 2014, 9:34 AM
    @Phil, is it next week yet?
    And: is it possible to have feedback for this sort of question?

  • Tim at Lone Pine Koala Sanctuary
    Mon, Feb 24, 2014, 3:28 PM
    Derek, see link above to eAssessment with Moodle ( ).

    More detailed feedback is difficult. How would teachers set it up? If you think it is possible, I suggest you post your ideas in the quiz forum.
  • Just wondering . . .
    Mon, Feb 24, 2014, 3:40 PM
    Thanks Tim. I did have a quick look at this site before posting but it I was too lazy and didn't find what I wanted quick.

    Here is our scenario: 16 students quite happy with practice quizzes in 2013 with no feedback ever. Lots of complaints from this year's lot.

    Our contractor who does the questions answered each of the questions and screen snapped an image of the correctly dragged 'n' dropped result, and put the image in the feedback,

    Success. Happy students. I'd have liked a button to click "Show solution" in the feedback. Would cost our budget a little less.

  • Picture of Phil Butcher
    Mon, Feb 24, 2014, 5:47 PM
    " I'd have liked a button to click "Show solution" in the feedback."

    There is an option to show the correct placings of items the students have got wrong - but on the original image.
  • Just wondering . . .
    Tue, Feb 25, 2014, 4:15 AM
    Phil thanks. I'll have a look and track it down.

  • Ralf
    Wed, Apr 2, 2014, 6:33 PM
    Dear developers,

    i'm using your question type in Moodle 2.6 and it works great,
    except of one little feature. If you have a look at a question in the question bank, it's possible to show the correct answer, but if a participant submits a quiz and he gets his feedback he can't see the correct answer. It would be great, if you can fix this.
    At my university the users like this plugin and i would be great to see it become a part of the Moodle core.

    Best Regards
  • Picture of Phil Butcher
    Wed, Apr 2, 2014, 7:18 PM
    We expect our authors to place a correct image, with everything filled in, in the General feedback field. That way students can see their answers and compare and contrast with the correct answer. We don't think that's too much to ask of authors.
1 2 3 4 5 6
Please login to post comments