Some images fail to load

URL of experiment:


Description of the problem:
Some of the images in my experiment fail to load. It happens with both .jpg and with .png files. After some research I found out the some of images load after I rename them (litrerally reanme it from ‘Slide1.PNG’ to ‘inst1.png’. Other image started loading fine after I changed their size from 1280x800 to 1920x1080. Other images, I couldn’t “fix” by this method as they need to be smaller.

I get the message:
"Unfortunately we encountered the following error:

** when setting the image of ImageStim: face_image*
** when getting the value of resource: resources\22U.jpg*
** unknown resource*

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

The resource is definitely in place. It doesn’t matter if I use lower or upper case in the file name or in the reference to the image in Builder.

If I drag the said image onto google chrome it opens (in all its versions).

Is there something special I need to do with my images so pavlovia will process them correctly?

Thanks,
Rani

You need to change \ to / in the paths.

Oh… Thanks. That worked.

1 Like