Drag and drop onto image

Question types ::: qtype_ddimageortext
Maintained by TimTim Hunt, Jamie Pratt, Phil Butcher
Part of set Open University.
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!
Latest release:
52 sites
39 downloads
89 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.

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Comments

  • Jamie Pratt
    Sun, 21 Oct 2012, 2:40 PM
    Hi, Actually you can change the max image size for this question type, both the max image size of the background and draggable images can be changed by changing the constants that can be found here :

    https://github.com/moodleou/moodle-qtype_ddimageortext/blob/master/questiontype.php#L30

    at the top of questiontype.php.

  • Steve Bond
    Fri, 23 Nov 2012, 9:40 PM
    Hi, liking this plugin so far. What is the "text" field for on the far right of the "Drop zones" section? I've tried typing values into this but it seems to do nothing. I thought it might but a label into the drop zone but no.
  • Phil Butcher
    Thu, 29 Nov 2012, 1:09 AM
    The 'text' field provides a tool-tip like label for the drop area, but does not write it into the area. Try adding some text then hovering over the area. It's there to enable accessibility to be increased.
  • Juan Coronado
    Mon, 28 Jan 2013, 7:35 AM
    Some plugins, including this plugin, are not working properly under moodle 2.4. When will you provide updates for moodle 2.4? thank you
  • Tim
    Mon, 28 Jan 2013, 5:40 PM
    Juan, things will be fixed once we know exactly what is broken, and have then fixed those things.

    If you want to help, please tell us the specific things that you have found that are broken. (The best way to do this is to create a bug report in the Moodle tracker.)

    The very latest that updates for 2.4 will be available is by the end of April, since that is when the OU needs them. However, I would hope that it is much sooner than that. It will happen sooner if people help.
  • Juan Coronado
    Wed, 30 Jan 2013, 3:55 AM
    I will provide a bug report on Moodle Tracker. Thank you.
  • Just wondering . . .
    Fri, 1 Feb 2013, 4:41 AM
    Tim/Juan. I can't find the tracker items.
    And: over here: https://moodle.org/plugins/view.php?plugin=qtype_ddwtos I asked about the drag and drop onto text and Jamie said it was OK.
    Have you tried this type of question Juan?
    I got one of our servers upgraded yesterday and everything so far has turned to custard where quizzes are concerned. (I'm now just looking to see if I can get some more technically correct descriptions with debugging)

    Is there a difference between the three OU DnD question types? ie is it possible one works and another doesn't on upgrade to 2.4?
  • Tim
    Fri, 1 Feb 2013, 5:03 AM
    Yes it is possible, but it is unlikely because the code is similar.

    You will be pleased to hear that the OU development code-base will be upgraded to Moodle 2.4 next week, at which point these problems will be affecting me, and I will have to fix them.
  • Just wondering . . .
    Fri, 1 Feb 2013, 5:24 AM
    Wow. Tim, that has made my day. I have some people/course complications I will not bore you with.
    This is great. I know it is late where you are!!
    -Derek
  • Michael Rodgers
    Fri, 8 Feb 2013, 8:03 PM
    I am trying to install this on version 2.2.6+ but it says a per-requisite is that gap select needs installing from https://github.com/moodleou/moodle-qtype_gapselect/ however this says it is only compatible with version 2.1+. I have tried installing both but moodle reports a plugin requirements problem error message. I can only assume it is due to 'moodle-qtype_gapselect' not being Moodle 2.2 compatible but the why say that drag and drop works on 2.2 and 2.3 if it relies on gap select which doesn't? Alternatively is there something I have missed in the readme / instructions please?
  • Tim
    Fri, 8 Feb 2013, 8:52 PM
    2.2.6+ > 2.1, so gapselect works fine in 2.2.6+ (and, indeed, 2.3 and 2.4). Just make sure you download the right branch.
  • philippe dutour
    Sun, 10 Mar 2013, 4:33 AM
    Hello,
    Is it possible to make the background transparent text and images dragables.
    Is there such a test chart with arrows to reach the labels and areas of an image ...
    Thank you for your attention.
    Philippe
  • Jamie Pratt
    Sun, 10 Mar 2013, 1:00 PM
    @Philippe, You are going to need to explain again what you want the question type to do for you.
  • philippe dutour
    Sun, 10 Mar 2013, 10:04 PM
    Hello,
    Thank you for your return. I'll try to clarify my needs, and if it is not possible to achieve with drag and drop this module, try to tell me how to change it, this is what is closest to my goals on moodle.
    I'd like to have a background image .... and have labels beings could best on the side with arrows that students should connect to areas of the photo.
    Labels could in a less uninteresting displaced in the picture but should be adaptable as their size (smaller) and there is no background or border, so as not to obscure part of the image background but with an arrow indicating a point.
    In fact things like this exist with jclic but java is not universally accepted, and tracking info is not effective.
    again thank you for your attention.
    Philippe
Please login to post comments