Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Randomly images can't load

  • lukdru1
  • lukdru1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #210193 by lukdru1
Randomly images can't load was created by lukdru1
Hey,

I have an issue with my survey. I got 10 images loaded into Limesurvey server and I want to use them to appear in random order. To each image I have the same set of questions. So each group of questions look like random image + set of questions. I just want to load one random image from that 10 images. I tried to use scripts that I found here but it doesn't work. Pictures can't load from server. Is there any simple way to fix it? Many thanks;-)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #210195 by Joffm
Replied by Joffm on topic Randomly images can't load
Hi,
in my opinion your post is a bit confusing.

First you say

and I want to use them to appear in random order

Here you would use "Randomization group name",.
The images and the set of questions appear in random order.

But than you say

I just want to load one random image from that 10 images

This you would do by creating a random number and display either the group (image + questions) by relevance equation or you create only one group and insert the image by an IF-statement.

I tried to use scripts that I found here but it doesn't work

What do you expect us to say, if we do not know which scripts you tried?

Pictures can't load from server.Is there any simple way to fix it?

Of course not. We have not the least idea, what you are doing, how you try to load the images.

And please, the first and most important information always is: Which version of LimeSurvey are you using?

So you should provide a lss export of your survey, that we see better where there are your mistakes.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose