Create cca 1000 questions with 1000 images from a file

PetrP Community Member Qubie ✭
edited June 23 in Survey Platform


I'm doing an experiment in which I need to have questions of the following format:


(simple multiple choice with answers from 1 to N) "

This would be simple to do with a lower number of images to choose from – one would just manually create N questions, copy one image to each one and set up the randomization. But I have generated around 1000 images and I need to use all of them this way. It would, of course, be arduous to do this by hand which is way I'm looking for a way to automate this process.

I could upload the images to the graphics library but I don't know how to make the questions draw from the library automatically. Is there a way to do that? Or is there a workaround?

Thank you, any help is appreciated!

Best Answer

  • ahmedA
    ahmedA IndiaCommunity Member, XMPN Member Wizard ✭✭✭✭✭
    Accepted Answer

    If you can create a list of the links to those images, you could just add them to the loop and merge field and use that as src for the images.


  • PetrP
    PetrP Community Member Qubie ✭
    edited April 6

    Thank you! That seems to be the way to go.

    However, the following doesn't show the image:

    <img alt="Scree plot" src="${lm://Field/1}" />

    Am I doing something wrong?

    EDIT: Got it! Just needed to add space next to the quotation marks.