-
Hello jsPsych community, Keiji |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @keijiota, You can use a URL as a path for any image. This should work just fine: const preload = {
type: jsPsychPreload,
images: ['https://mystimuli.org/img1.png']
} The examples in our docs use relative paths, so if the website is hosted online it'll just grab the files from the same machine that is acting as the webserver. |
Beta Was this translation helpful? Give feedback.
Hi @keijiota,
You can use a URL as a path for any image. This should work just fine:
The examples in our docs use relative paths, so if the website is hosted online it'll just grab the files from the same machine that is acting as the webserver.