| Reference | Downloads | Github

Images not loading properly, returning error message

I have been encountering this error message partway through my experiment.For some reason it won’t download all the images at the start of the experiment.
I have tried installing this JS code in before experiment, begin experiment and begin routine tabs but none have worked. I would love some help if anyone has any ideas?
{name: ‘11f11m6.jpg’, path: ‘11f11m6.jpg’},
{name: ‘11f12m6.jpg’, path: ‘11f12m6.jpg’}

Do you have any relevant messages in the browser console?

Are your image files in the same folder as your index.html file?

Thankyou for your response. Unfortunately the browser console hasn’t been very clear with whats going on. Just that the images couldn’t be loaded. I have also checked and my images are in the same folder as my index.html file.

Please could you share a runnable link to your experiment and/or paste the error messages you get when downloading?

Hi there,
I am having a similar problem with the latest updated version. Experiment running fine off-online but in online it is showing the below error message:

Unfortunately we encountered the following error:

  • when setting the image of ImageStim: Instruction1
  • when getting the value of resource: Inst1.png
  • unknown resource

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

I have checked the HTML folder on my computer and everything is fine. I ran my past experiment perfectly online. But this new version is creating the problem. Here is the URL of my experiment. Can you suggest what can be done?

Url: errorAwarenessFinal [PsychoPy]

I think you need to avoid using the html folder with the latest version of PsychoPy

Thanks. It is working now :slightly_smiling_face: