How to randomly display 1 of two images

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win11):
PsychoPy version (most up to date):
Standard Standalone? Yes
What are you trying to achieve?:
I have a fixation cross for a random duration, then an audio ‘beep’ and then I need to display one of two images for a set amount of time, and then loop back to the random time fixation cross

What did you try to make it work?:
Many searches on the forums, cant find anything that is closely related enough for me to comprehend with my very limited knowledge of this software
Tried the independent randomisation demo, but that only shows how to alternate between characters, not images

What specifically went wrong when you tried that?:
Psychopy cannot recognise the image either when inserted into the excel sheet, or when the image paths are in and the column variable associated with the image block

Any help on how to randomly choose between 1 of two images wither through excel or anything else would be greatly appreciated, the rest of my study i managed to figure out.

Thank you!

Hi Julian,

My knowledge is also very limited, but maybe first aids are enough!

Have you selected the “set every repeat” option in the image properties?
And… Is the loopType set to random?

I am pretty sure you should have both

Hello Julian

could you please show how tried to randomly select one of two images?

Best wishes Jens