Display full-screen images and trials repetition

OS : macOS Monterey
PsychoPy version : v2023.1.2
Standard Standalone? (y/n): yes
What are you trying to achieve?: Displaying random images, organized in blocks, followed by a keyboard response at the end of each image. I would like to display each image twice within the block.

**What did you try to make it work?:

  1. I’m trying to display a full-screen image, but if I keep the default settings, it appears as a square, and if I set pixels units, the image is cut…what am I doing wrong?
  2. I want to display multiple repetitions of the same trials (images followed by keyboard response). In the results files, the trials are overwritten and I suppose because they have the same name. I wonder whether there is a way to avoid this or if I need to make a copy of each file just to have images with different names.

Thank you!

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

  1. To stretch an image to fill the screen use norm units with a size of (2,2)

  2. You either need to use a loop or add thisExp.nextEntry() in a code component to force the data to move to the next row. I’m unclear on how you are coding your experiment to have similar trials with different images without using a loop.

Thank you so much, it worked!
About the second point, I created a loop in which I have a fixation cross (1s), followed by an image (1s, randomly chosen among 4 images), followed by some text that is present until the subject presses a button. I’m presenting the same image twice (nReps $2). However, when I look at the csv file I can find only the results associated with the last 4 images instead of 8 (which is the actual number of images that have been displayed). Maybe they are overwritten?