URL of experiment:
Description of the problem:
I’m working on at task that presents various images and asks questions about those images afterwards. The images are presented in an image loop within the trial loop, like so:
Presenting images in the outer loop works as expected, but I cannot present randomly selected images from the conditions file of the inner image loop. It seems that the file path is not being updated in the online version. I’ve manually added a filepath outside of the loop, and the URL is not being updated. However, it seems that the attribute in the inner loop conditions file (imgfile) is read properly. Here’s a snippet from the debugger:
What am I doing wrong here? Is there something that I’m missing?
Some remarks: Image path is set up as TaskImages/FileName.jpg in my csv, and the images are all present in the folder. The Python code isn’t using .draw anywhere. I’ve tried to explicitly set interveningimage.setImage(imgfile) which made things worse. An image path given by the conditions file defined in trialloop to WMprompt is working fine.
PS. I also have a feeling this relates to my post here, which also depends on an inner loop conditions file within the larger trial loop. I haven’t been able to solve that one either and decided to address this issue first.