Error: when setting the image of ImageStim (yet again)

URL of experiment: Pavlovia

Description of the problem: Hi, everyone! I have seen many posts on this same issue, and I have tried every single advice with zero success. The experiment runs fine on PsychoPy, but I have had so much trouble putting it to Pavlovia! I had the latest version and when pushing the experiment to Pavlovia it crashed (or rather, froze). So, following people’s advise, I went and downgraded my PsychoPy version to 2021.1.3.
Now, it’s at least syncing, but I keep getting the “when setting the image of ImageStim” error. My output path set to blank, and I have attempted to create the project from scratch to no success. I even went to create the simplest of tasks: a simple image is shown for a couple of seconds, and then there is a good bye message, and the error is showing again, which is the link I have put at the start of this post. I really don’t know what else to do and I’m really frustrated to see that even showing a single small image appears impossible. Please help!

I forked your study and got this error when I tried to run it.

Backslash () shouldn’t be used for paths online. Where did you find the advice to downgrade to 2021.1.3? Here’s your code running in 2024.2.4 (with a foreslash)
https://run.pavlovia.org/test-suite/test_stim_issue/

Thanks a lot! I downgraded because for some reason when I use the latest version I cannot sync to Pavlovia and builder just freezes. It seems to be working, but weirdly the .js files comes up with four backslashes \\ before the name of the image. I had to change it by hand in the .js file

Please don’t change the JS file by hand.

Change the \ to / in Builder.