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:
81 sites
29 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

  • Ralf
    Wed, 2 Apr 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
    Ralf
  • Phil Butcher
    Wed, 2 Apr 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.
  • Scott Summers
    Fri, 25 Apr 2014, 5:09 PM
    I too am having a picture rescale problem. The Image gets very small but the drop zones do not scale with it and are often off the page. Is there a limit to the image size? I have not been using particularly large images ~600x600.
  • Phil Butcher
    Fri, 25 Apr 2014, 5:13 PM
    Yes there is a max size of 600 x 400. The documentation is referred to above. Here's the direct link http://www.open.edu/openlearnworks/mod/oucontent/view.php?id=52747&section=2.3.2.

    If you are the sort who tinkers with Moodle code then I believe that the 600 and 400 are easily changed.
  • Phil Butcher
    Fri, 25 Apr 2014, 5:16 PM
    Yes there is a max size of 600 x 400. The documentation is referred to above. Here's the direct link http://www.open.edu/openlearnworks/mod/oucontent/view.php?id=52747&section=2.3.2.

    If you are the sort who tinkers with Moodle code then I believe that the 600 and 400 are easily changed.
  • Anja Pohlemann
    Tue, 6 May 2014, 9:35 PM
    Dear developers,
    I am using the question type Drag and drop onto image (moodle 2.5) and it is working fine on normal sized screens. On smaller screens (tablets, smart phone) the image is cut due to its size and some of the gaps might not be displayed.
    Am I seeing it correctly that there is no option to autosize the image to screen size? Is it possible to add a scrollbar by slight modifications of the php-code (for me, as I do not know anything about PHP)?
    Thank you for all the effort!
  • Tim
    Wed, 7 May 2014, 1:03 AM
    autosizing the image would require changes in the JavaScript code, and would not be easy. I doubt we will work on it any time soon, but if someone else wants to have a go, we welcome contributions.
  • Elton LaClare
    Fri, 4 July 2014, 12:06 PM
    I've been using this question type for a while and it works really well. However, I've noticed that it is not possible to drag and drop on an Android device (Nexus 7). I'm using Google Chrome as the browser, but I can't seem to make it work. Has anyone had a similar experience?
  • Tim
    Fri, 4 July 2014, 3:15 PM
    We know about that Android issue, and it is a bug in the YUI JavaScript library that Moodle uses. We reported that issue to them, and it is fixed in a later version, so eventually, when you upgrade Moodle, this question type will start working. Sorry, don't know which version of Moodle that will be. It might be 2.7, or it might not be until Moodle 2.8, which is not released yet. I really need to work out what they key version is, but I have not had time.
  • Elton LaClare
    Mon, 7 July 2014, 8:46 AM
    Tim,
    Thanks for your reply. My school is soon to switch all of our classroom devices to Android tablets. We'd really hate to lose access to the Open University question types. Hopefully an upgrade to 2.7 or 2.8 will solve the problem.
  • nadeer saffar
    Sat, 19 July 2014, 5:52 AM
    i can not install it in Moodle 2013051400
  • Michael Milette
    Wed, 24 Sept 2014, 12:28 AM
    Is it possible to use this using a keyboard (no mouse)?
  • Phil Butcher
    Wed, 24 Sept 2014, 12:36 AM
  • Chris Swaffield
    Thu, 16 Oct 2014, 1:01 AM
    I know max size of images has been discussed above, but what about making images to be dragged smaller? I've made my draggable images smaller, but upon import they still have the large border around them and maintain a standard size (which is too big). Is there a way to make them smaller?
  • philippe dutour
    Tue, 28 Oct 2014, 8:39 AM
    I want to remove the outline and the background of the images to be dragged and dropped on the picture!. how should I do?
    thank you
Please login to post comments