So, what to do?
You create two different random numbers from 1-5000. (rand1 and rand2).
There is an example here in the forum.
Hopefully you named your pictures like
"image1.jpg", "image2.jpg", ...)
Then you can display your pictures by
<img src="upload/.../image{rand1}.jpg" ...>
<img src="upload/.../image{rand2}.jpg" ...>
If your pictures are named differently, you may use a hidden question of type "long text" as pool for the names (QPool).
Insert the names, each name with the same length (filled with blanks), let's say 20 characters.
Again create two random numbers.
Then you can extract the name of the first picture by a text function like
{trim(substr(QPool,(rand1-1)*20,20))}
and the second
{trim(substr(QPool,(rand2-1)*20,20))}
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.