Randomizing pictures in questions | XM Community
Skip to main content
I have created a survey that includes certain blocks which are randomized. I want to present pictures from a set of pictures in those blocks in a randomized fashion. I read a post that suggested to make every possible combination of a picture with the questions for e.g. question1pic1, question2pic2 etc. Is there a less time consuming method to achieve this task with 16 questions.
Hello @R_I ,



Assuming, if you are asking same question for all pictures and its just that the pictures need to be randomized.



Please follow this post and follow the same steps. (just need to change the number of embedded data to 16 and put the embedded data in the src of img tag. In the code just need to create 16 element array with image url)
Hi @R_I,

just one more note: in case all your questions concerning one image would be almost the same and on one page, I'd suggest to use Loop & merge.

A useful discussion about it is here.

Leave a Reply