Matching Questions and images

Matching Questions and images

by David Edwards -
Number of replies: 9

I don't know if this is where I ask this question. I would like to create matching question's with images and text in the answer area.

Is this posible and if so where and now can I do this.

Thanks

Average of ratings: -
In reply to David Edwards

Re: Matching Questions and images

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi David,
If you do a Forum search (advanced) with keywords "insert images" here you will find a number of discussions on this topic.
Joseph
In reply to Joseph Rézeau

Re: Matching Questions and images

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
But the short answer is no, becuase you can't have images in dropdown menus in HTML.

The best way to do this sort of question would be as a drag-and-drop question type, which is something I would like to make, but I don't have time at the moment, there are too many other important things to work on.
In reply to Tim Hunt

Re: Matching Questions and images

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Tim,

"You can't have images in HTML dropdown lists" of course, but you can very well create a matching exercise with images in the Question text field and matching text in the Matching answer field. See attached screenshot.

Unfortunately, since the edit screen still does not offer the HTML editor facility for entering the images at the press of the Insert Image button, you have to resort to the folllowing tiresome manoeuvre.angry

  1. Use the Insert Image button to insert the image you need for pair 1A in the Question text window.
  2. Click on the Toggle HTML source button.
  3. Copy (or rather cut) the code for the image and paste it into Question 1 box.
  4. Then enter text 1B to match the picture in 1A, into box Matching Answer 1.
  5. Repeat operations 1 to 4 for all of your matching pairs.

Joseph

Attachment image-0000.jpg
In reply to Joseph Rézeau

Re: Matching Questions and images

by David Edwards -
OK this is great. I will do it this way for now. I know Tim was talking about a drag and drop question type. This is already available TIM but it does not work. I created a drag and drop question type but was no images upload yet. Well I do have images in the course under a folder which was done in moodle and upload the images using moodle. But the drag and drop still does not see the images so that is kind of use less.

I will do this matching quest and then I will use these in the flashcard mod for students to practice.

Thanks Great info.

In reply to Joseph Rézeau

Re: Matching Questions and images

by debbie wombwell -

Hi

I have carried out the steps which you suggested however the text has not converted to the image.  Please can you advise me what to do next?

Debbie

In reply to debbie wombwell

Re: Matching Questions and images

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Debbie,
Who is this message addressed to? If you are referring to the method I explained in my message dated Friday, 8 December 2006, 02:33 PM, then can you explain step-by-step what you are doing, what you are seeing and what exactly you mean by "the text has not converted to the image"?
Joseph
In reply to Joseph Rézeau

Re: Matching Questions and images

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Further to private e-mail exchange Debbie's problem has been solved. She was missing step 1 in my step-by-step method.
Joseph
In reply to David Edwards

Re: Matching Questions and images

by Pierre Pichet -

You can do the reverse i.e. matching images with answers as text because of the restriction on the menu item.

You put your image in the course directory and you put a self made html code in the question 1 (or 2 etc) area

like

<img src="http://132.208.141.198/moodle/file.php/3/bambi.jpg" /> 

http://132.208.141.198/moodle/ being the address of you site.

/3/ being you course number which is also the name of the course files directory in your site dataroot directory.

You have more possibilities with multiple choice questions.

See for yourself two simple examples on

http://132.208.141.198/moodle/ logging you as moodle pw: moodle

Pierre

In reply to Pierre Pichet

Re: Matching Questions and images

by Đinh Lư Giang -
Or can use hotpot to craet imgae matching, too. Good luck.
Giang