preload_image seems not to work anymore #2297
-
I've been running several experiments online and the images preloaded correctly. However, I just added a new experiment to Pavlovia and it seems the images are not preloading anymore. So for each trial, there is a delay and the pictures are shown a bit later (and not at the same time). This is the code in which I create the variables. For block 1, it's selecting all the Foil 1, Foil 2, Foil 3 and Target images for all trials.
Then at the end I added:
Any idea what the issue could be? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @FelicityF, could you let us know what version of jsPsych you're using? In jsPsych v6.3.0, we moved all media preloading from If that's not the issue then we'll probably need more information to help you figure it out. Maybe you could share a link to your Pavlovia experiment so that we can take a look? |
Beta Was this translation helpful? Give feedback.
Hi @FelicityF, could you let us know what version of jsPsych you're using? In jsPsych v6.3.0, we moved all media preloading from
jsPsych.init
into thepreload
plugin. So if you're using jsPsych v6.3+ then it won't work to usepreload_image
as you're doing in the code above - instead you'll need to add apreload
trial to your experiment timeline.If that's not the issue then we'll probably need more information to help you figure it out. Maybe you could share a link to your Pavlovia experiment so that we can take a look?