Question types: Drag and drop onto image

qtype_ddimageortext
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of Jamie PrattJamie Pratt, Picture of Phil ButcherPhil Butcher
As of Moodle 3.0, this question type is part of the standard Moodle release. That is why there is no plugin from Moodle 3.x. You don't need one!
330 sites
381 downloads
80 fans
Current versions available: 6

As of Moodle 3.0, this question type is part of the standard Moodle release. That is why there is no plugin from Moodle 3.x. You don't need one!

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.

Sets

This plugin is part of set Open University.

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Show comments
  • Tim at Lone Pine Koala Sanctuary
    Mon, May 22, 2017, 8:00 PM
    Look a few comments up:

    "As of Moodle 3.0, this is part of the standard Moodle release. It is no longer an extra plugin. So, yes, it works!"
  • Germán and Temudgin
    Tue, Apr 10, 2018, 2:24 AM
    This is a great question type. Maybe it could look even better:

    As suggested by Joseph Rézeau in https://moodle.org/mod/forum/discuss.php?d=358512,:

    ".. using the customized CSS rules, as per my previous post. No visible overlapping, no annoying boxes, the result is exactly the same as the original legend.

    It's a pity that one has to resort to such additional CSS rules, which can only be added by a Moodle site Admin, and of course will not suit all types of D & D questions. I suggest that optional settings be made available within the editing interface of such questions, to make them more flexible."

    How difficult would it be to have the border for the draggable items be selectable (border/no border) ?

    Would this be worth adding a Moodle Tracker issue?
  • Picture of Stefan McGarvey
    Thu, Sep 6, 2018, 9:42 PM
    Hello, I just tried installing the zip file onto my Moodle 2.6+ site and now my site is locked on the Plugins Check screen telling me I require qtype_gapselect (2014111200) I don't seem to be getting any help from the forum so I was hoping someone here might be able to help.
  • Tim at Lone Pine Koala Sanctuary
    Fri, Sep 7, 2018, 12:48 AM
    The message means exactly what it says: if you want to install this plugin, you need to install qtype_gapselect first, or at the same time.
  • Picture of Liam Goldfinch
    Sun, Oct 21, 2018, 9:06 AM
    Hello Is there an updated version to this plugin as my moodle site wants a newer version
  • Tim at Lone Pine Koala Sanctuary
    Mon, Oct 22, 2018, 12:57 AM
    This question type is now part of standard Moodle. If you are running a supported version of Moodle, you should already have it.
  • Picture of Nosheen Irshad
    Thu, Nov 1, 2018, 12:18 PM
    Hi

    Is there a way to use drag and drop plugins such that if we have following requirement it gets done with correct marking.

    We have a background image where we want the student to drop images beginning with letter m. In the draggables we are providing a mix of m letter objects and others. Now imagine if there are 3 drop locations on the background image and we have 3 m letter objects. Consider drop placeholders as D1, D2 and D3 and correct images are m1, m2, m3. The user should be able to drop either m1 or m2 or m3 on D1 or D2 or D3 and the answer should be correct. But the correct plugin binds every selected draggable to specific placeholder we see on the background image. How can we achieve this? Can this happen via some customization in the plugin at the code level? Please help.

    We are using Moodle version 3.4.1+
  • Picture of Victor Santos
    Fri, Feb 15, 2019, 12:35 AM
    Hello!
    I wanted to use this question type, but I have a problem! Is it possible to have multiple answers for the same "drop zone"?
    For example I have an image where the student have to answer which products come from milk (yoghurt-butter-cheese-ice cream) but I don't know in which zone the student will drop the answer. He could be write but the exercise will tell me that the answers are wrong. Sorry for the bad English. Hope you can help me.
  • Picture of Evolution Hospitality Institute
    Mon, Dec 2, 2019, 12:00 PM
    New update of this plugin is not working
    this.container.all('li.matchdrag').setStyle('cursor', 'move'); = TypeError: this.container is null
    please assist


  • Tim at Lone Pine Koala Sanctuary
    Fri, Dec 6, 2019, 1:33 AM
    I don't understand why you are commenting here. As it says above, since Moodle 3.0, this question type has been part of the standard Moodle package. You should not install it from here.
  • Picture of Charlie Hampson
    Thu, Jan 2, 2020, 7:28 PM
    We are using this quiz type but have now had two people report an issue where the labels which should be dragged to the correct location on the image are not displaying. No other users have reported this issue. I have been able to login as the individuals using the 'log in as' option and the labels display without issue for me. I know it must be a problem with the machine they are using but according to them they have tried various different browsers and sometimes other machines too. The latest person who reported this issue apparently got it working eventually once they used the Microsoft edge browser. Has anyone else come across this issue? I don't believe there are any required plugins for this. For info our versions are:
    Moodle version: 2017051500.09
    Moodle release: 3.3+ (Build: 20170622)

    If I should be raising this issue elsewhere, please advise.

    Thanks
  • Tim at Lone Pine Koala Sanctuary
    Mon, Jan 6, 2020, 11:43 PM
    Moodle bugs should be reported in the Moodle issue tracker. However, Moodle 3.3 is no longer supported, and these question types have been improved in more recent versions of Moodle, so you should not report a bug with such an old version. You should make plans to upgrade your Moodle site to a supported version.
  • Picture of Kyriakos Iakovou
    Mon, Jan 13, 2020, 3:33 AM
    Hi there,

    Is possible to find the bellow zip file?
    qtype_ddimageortext (2019111200) Fails Unavailable

    Thank you
    Kyriacos Iacovou
  • Tim at Lone Pine Koala Sanctuary
    Mon, Jan 13, 2020, 6:46 PM
    Whey would you expect that zip file to exist? What are you trying to do that makes you think you need it?
  • Picture of Irith Herman
    Wed, May 13, 2020, 2:15 AM
    I have moodle 3.5 and I don"t find this question type in the core
1 2 3 4 5 6 7 8 9 10 11
Please login to post comments