Dear David,
Thank you ever so much for your time and code. I would not have thought about it that way without your help. It also helped me understand Python more.
Upon using your code I was struggling to understand what exactly to put into image properties box next to ‘image’ to link the stimulus to the code. As I was doing this, someone on another thread posted their full experiment which does exactly what I want. Lucky me! So I am now modifying that code.
So anyone interested in changing an image via button press should look here for a complete example:
Thank you again, all the best, I look forward to giving back to this helpful community in the future!
Kirsten.