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

How to insert multiple graphics at once as choice answers?

  • May 4, 2021
  • 8 replies
  • 1253 views

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!

Best answer by 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:


...
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.

8 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • 2050 replies
  • Answer
  • May 4, 2021

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.


  • Author
  • 1 reply
  • May 4, 2021

That did it. Thanks a lot!


Forum|alt.badge.img
  • 2 replies
  • September 23, 2022

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


SuhasM
Qualtrics Employee
Forum|alt.badge.img+16
  • Qualtrics Employee
  • 114 replies
  • September 23, 2022

Forum|alt.badge.img+1

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?


AlonsoC
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 407 replies
  • November 5, 2024

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!


Forum|alt.badge.img+21
  • 319 replies
  • November 6, 2024

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.


AlonsoC
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 407 replies
  • November 6, 2024

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.