Hi, I’m trying to make a task on builder. where i load the images beforehand, and then use the location as a variable to load the images.
This is how my image loading loop looks like where i’m just displaying image text
After this I have another loop where I just display these using the locations. I have created the location variable as follows:
Now while presentation of the image, I just give the variabe $loc1 - $loc6
Now, while running the experiment on the browser, i can see that the images are getting loaded in the network tab of the developer tools, but the experiment just starts and directly goes to the end as if everything ran correctly. No errors are visible.
Any help will be appreciated. And lmk if you need any more information.
Hello
I am not quite sure what you try to achieve?
$loc1 will never show $loc6 as loc1 is set to images_days2/pos_1.png while loc6 is set to images_days2/pos_6.png. Do you have more components, e.g. image_1 to image_6?
Best wishes Jens
Also – your spreadsheet has a column called all_images. Where does that value get used?
Do you have more components, e.g. image_1 to image_6?
hey, thanks for the reply!
yes, i do have image_1 - image_6 components. i have only shown an exemplar component (which is 1).
Also just to add, my code works as intended on PsychoPy locally.
Also – your spreadsheet has a column called all_images. Where does that value get used?
thanks for the response!
i’m using it just before the image presentation routine, where i’m for the time being displaying just the names, this helps in downloading the resources for psychopy (as is visible in the network tab)