Image Path error - cloudn't find image

OS: Win10
PsychoPy version (e.g. 1.84.x): 2021.1.4
**Standard Standalone? **: Yes
What are you trying to achieve?:

I have a loop which loads 8 different pictures differently every time, according to the variable values of environment, sunVisibility and cloudVisibility (as defined in the conditionsTest.xlsx file).
Locally this works perfectly fine, however online or in local js debug mode, it doesn’t.
I cannot understand why - even on the gitlab page the resources are found under the path test_images/xxx_xxx_xxx.jpg
It should work but I have tried everything, with html/resources and everything else i can think of.

Please help.

What specifically went wrong when you tried that?:
Error message:
Unfortunately we encountered the following error:

when setting the image of ImageStim: image
when getting the value of resource: ./test_images/beach_visiblesun_yesclouds.jpg
unknown resource

Try to run the experiment again. If the error persists, contact the experiment designer.

Here is the project link: