Cannot display image stimuli component sometimes


I am getting the following error when I run my experiment online to display an image stimuli.

My experiment only displays a text followed by an image. If i display the text only, the experiment works fine. If I follow it by an image, the experiment crashes with the following error:

  • InvalidStateError: Failed to read the ‘responseText’ property from ‘XMLHttpRequest’: The value is only accessible if the object’s ‘responseType’ is ‘’ or ‘text’ (was ‘blob’).

My steps are:
(1) I set the experiment settings to write output to ‘html’ folder

(2) I do File → Export Html
and then I sync to the repo and run the experiment in pilot mode. Screen Shot 2021-01-21 at 9.37.04 PM

I understand that somehow the image expects to come back as a blob, but I am not sure where i can set this.

OS (e.g. Win10): mac sierra
PsychoPy version (e.g. 1.84.x): 2020.2.3
Standard Standalone? (y/n) If not then what?: built scratch