using images as answers in 1.8

using images as answers in 1.8

deur alison wilson -
Getal antwoorde: 5

Hi - we successfully uploaded and used images as answers in 1.7 in a choice activity. We did this by pasting the following text/code into the answer boxes:

<img title="title" height="x" alt="screenreader tag" hspace="0" src="full url" width="y" border="0" />

in version 1.8 it doesnt seem to work and we get an error messeage :

 “you need to provide at least 2 possible answers”

Has anyone else manage to use image as anwers in Moodle 1.8 and if so  - how?

Gemiddeld van beoordelings: -
In antwoord op alison wilson

Re: using images as answers in 1.8

deur Dan Marsden -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Peer reviewers Prentjie van Plugin developers Prentjie van Plugins guardians Prentjie van Testers Prentjie van Translators

Hi Alison,

I completely missed this post sorry! - Dan has prepared a patch, and we will fix it in the latest version of 1.8 stable and higher.

Thanks to Dan for getting onto it!

glimlag

Dan

Gemiddeld van beoordelings: -
In antwoord op alison wilson

Re: using images as answers in 1.8

deur andy choo -
Hi,

Wondering if we can add images as one of the choice options in the Choice Module. if possible, could anyone enlighten me on this issue.

Thanks for any help.

Andy
Gemiddeld van beoordelings: -
In antwoord op andy choo

Re: using images as answers in 1.8

deur Dan Marsden -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Peer reviewers Prentjie van Plugin developers Prentjie van Plugins guardians Prentjie van Testers Prentjie van Translators

Hi Andy,

you can do this as mentioned in the post above. - there was a bug briefly in 1.8 which prevented this, but it should work in the latest version of 1.8

the image must exist somewhere on the web (in your site or elsewhere)

here is an example:
<img title="title" alt="screenreader tag" src=""  border="0" />

good luck!

glimlag

Dan

Gemiddeld van beoordelings: -