How to insert multiple graphics at once as choice answers? | XM Community
Skip to main content

I'm currently making a survey that requires the respondents to answer multiple choice questions by choosing images. The survey has only 4 questions, and each has about 50 possible images as answers. Two of these images are randomly chosen and presented for the respondent to choose one. That was pretty easy to do, but I have a problem now: is there any way to insert the graphics as choices in a batch? I have 200 images in my library that need to go each into one choice, and I could not find a way to that all at once. I have to insert the graphics one by one, and not only is this time consuming, it is also prone to errors. Is there any way to do it automatically, even if "programatically"?

Thanks in advance!

Images are loaded in the HTML using the img tag. Read up its formatting on Google. Once you've done that create a text file with the images that need to go into each question, something like:


...
Ensure that each image is on a single line. Then copy and paste this into "Edit Multiple", it will create one option for each line.


That did it. Thanks a lot!


Hi, I'm new to Qualtrics. I also need to do similar things. Could you please share a template with me? Thank you.


https://community.qualtrics.com/XMcommunity/discussion/comment/37090#Comment_37090That's a wonderful solution! Thank you ahmedA 😁


Images are loaded in the HTML using the img tag. Read up its formatting on Google. Once you've done that create a text file with the images that need to go into each question, something like:
image 1 link
image 2 link
...
Ensure that each image is on a single line. Then copy and paste this into "Edit Multiple", it will create one option for each line.

 

Links are broken. Is there any chance you can update them or DM me the images?


Hi @ahmedA, just bringing this thread to your attention. I know it's been a few years since you offered the solution, but an update with new images would be greatly appreciated by the Community! Thanks for being such an active and helpful member!


Using an example from w3schools (HTML img tag)

<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">

Change the source portion (src) to your image url (for example, src=“https://img.freepik.com/free-photo/abstract-surface-textures-white-concrete-stone-wall_74190-8189.jpg”)

If you have multiple images, you should have multiple lines each with a different src.

<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl2.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl3.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl4.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl5.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl6.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl7.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl8.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl9.jpg" alt="Girl in a jacket" width="500" height="600">

Then, copy and paste this whole section in the "Edit Multiple" section of your MCQ.

Note: Once a response is collected, this "Edit Multiple" portion will be disabled.

Then, choose “Choice Randomization” to randomly choose from these choices of images.


Using an example from w3schools (HTML img tag)

<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">

Change the source portion (src) to your image url (for example, src=“https://img.freepik.com/free-photo/abstract-surface-textures-white-concrete-stone-wall_74190-8189.jpg”)

If you have multiple images, you should have multiple lines each with a different src.

<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl2.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl3.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl4.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl5.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl6.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl7.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl8.jpg" alt="Girl in a jacket" width="500" height="600">
<img src="img_girl9.jpg" alt="Girl in a jacket" width="500" height="600">

Then, copy and paste this whole section in the "Edit Multiple" section of your MCQ.

Note: Once a response is collected, this "Edit Multiple" portion will be disabled.

Then, choose “Choice Randomization” to randomly choose from these choices of images.

Thanks @Chee Heng_SZ!

 

@rrodriguezbarron, bringing this recent comment to your attention and hoping it is helpful.


Leave a Reply