Feedback using image stimuli


I’m making on an experimental paradigm using an ultimatum game.

I would like to give feedback using image stimuli depending on whether participants accepted or rejected the offer, but I think there is an error in my code…X(

Here is my condition file.

This is my builder screen.

Begin Routine

if resp_trial.keys == 'q':
    feedback_img = answYes
if resp_trial.keys == 'p':
    feedback_img = answNo

End routine

print(resp_trial.keys == 'q')
print(resp_trial.keys == 'p')

Is this the problem because I wrote the wrong path in the property?

How can I present a picture for each trial?