Insert videos and/or images in multiple choice options

I was researching this question, in which a multiple choice question displays an image for each question,However, there was an error and only the image appears on my form. When I remove the image, the form works perfectly with the writing. Can anyone tell me what could be wrong?
This is what the finished form looks like

The only thing I did was attach the photo to ODKCENTRAL, and in the choices tab, I put filename.jpg With an "image" column, It is not in the attachment however the only thing that appears in this form is the image that I attached, when I remove the image from the form the form appears normally as I explained above

In the example of my form I only attached an image as a test but all the questions that have blue fills will have images or videos attached, I would like to know if for video it is also possible to attach a small video to each multiple choice question

If think if your label column is localized (that is, it is label::English) then you'll need to localize your image column as well (that is, so it's image::English). See this post for more details:

If you use localised language, please, also add the language code in brackets, e.g. :: English (en). See https://docs.getodk.org/form-language/#switching-languages.

Can you explain it better please, I'm also having the same problem of not showing images or videos in my multiple choice options on my form, I just added "image" like this inside the quotation marks in my choices tab. Do you think it is relevant to add: language, if so, what should a column look like in the choices tab with images?

Please keep the discussion about your question on this same thread.
If you post your XLSForm that can help someone troubleshoot.

1 Like

That's exactly what I did, my question has already been posted with the printout of my XLSForm, however, I re-asked the question because I didn't understand the previous answer

Using the image column in the survey sheet will display an image as part of the question text, as described here: https://docs.getodk.org/form-styling/#media

You can also add images and other media to the choices of a question as described here: https://docs.getodk.org/form-question-types/#including-media-files-in-choices

In both cases, if any columns of your form include language definitions (such as ::Español (es) or ::English (en) ) you will need to also include a column for each language for your media columns as well. for example image::Español (es).

1 Like

this didn't work for me
Formulario de treino.xlsx (21.8 KB)
I attached the form... I didn't put the image column in the search tab because I only want the images to appear in the multiple choice options, and not in the question. If you could look I would be very grateful

It seems to have worked, just removing all types of languages ​​from the columns leaving it exactly like this:
image

It is case sensitive. You had both "English" and "english".

3 Likes