Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Error with image presentation

Hello,

I have built an experiment in which pictures are rated by keypress. There are more than 100 images, so to avoid building more than 100 sketchpads, I need to define them as a variable. I did this by creating the variable "image" in the loop and then using this line in the sketchpad:

draw image center=1 file="[image].png" scale=0.5 show_if=always x=0 y=-96 z_index=0

This works in OS, but not in OSWeb. There, I get this error:

[Error] Cannot load file:///private/var/folders/q4/6nmb76z13pjdb93q7yb_h8v80000gn/T/osweb.1.3.9.bundle.js.map due to access control checks.

What do I need to change so my experiment runs in OSWeb?

Thanks,

Sarah

Comments

  • Hi Sarah,

    that sounds like your images are at a location that you are not allowed to access. Have you put them in your filepool? Which system are you running?

    I just tried to reproduce the error and it occurs only if my files are not located in the filepool. Can you check that?

    Eduard

    Buy Me A Coffee

  • Hi Eduard,

    I'm running the experiment on a Mac. I tried running it in OSWeb in several browsers (e.g. Safari, Firefox) and got the same error. I loaded all the files in the filepool. The filepool seems to clear itself sometimes, but I reuploaded all files to the pool and still got the same error.

    Best,

    Sarah

Sign In or Register to comment.