psychopy.org | Reference | Downloads | Github

Two images, select one

I am trying to create a trial where two images appear on the screen and the participant can select one or the other but I would like both to remain on the screen, just with the selected option highlighted or something like that. I can’t figure out how to get this to work and am also struggling to set up the excel column for this. Through excel I understand how to get the images to appear in psychopy but not how to accomplish the selection of one vs the other along with a visual indication of the selected one. Let me know if anyone has any advice on how to do this. Thank you.

Try searching this forum for related threads, such as this one:

Thank you for this helpful link. I am attempting to show two images on the screen at once and I have my excel set up to show three columns, one for the first image, one for the second, and the third is corrAns. In builder, how do I enter the correct image reference to be able to show both? As of now, it looks like I can only reference column 1 through $image_1 for example but can’t reference the second column here too. I know this is a basic question but I would greatly appreciate clarification on this. I’ve looked through the discourse threads and online and see a lot of wonderful higher level questions but unfortunately I can’t seem to resolve this low level problem. Thank you.

You need to create two Image stimulus components. Put $image_1 in the image field for one, and $image_2 in the other. They need different position values so that they can both be seen.

Thank you for your reply. I have two image stimulus components in and are set to $image_1 and $image_2 from my excel file (which I’ve attached) with differing XY positions. No image appears on the screen when I run the trial and the error I get is also attached. I tried changing different elements of the component settings without success.

practicepsychopyminitrial.xlsx (44.9 KB)