# Problem with online experiment uploading the images

**URL:** <https://discourse.psychopy.org/t/problem-with-online-experiment-uploading-the-images/13833>\
**Category:** Online experiments\
**Created:** [May 31, 2020, 7:00pm UTC](https://discourse.psychopy.org/t/problem-with-online-experiment-uploading-the-images/13833 "2020-05-31T19:00:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![albap](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@albap](https://discourse.psychopy.org/u/albap)\
**Post date:** [May 31, 2020, 7:00pm UTC](https://discourse.psychopy.org/t/problem-with-online-experiment-uploading-the-images/13833/1 "2020-05-31T19:00:17Z")

</div>

Hi,

I am trying to run an experiement online on Pavlovia and I keep getting this error:

Unfortunately we encountered the following error:

- when setting the image of ImageStim: enc
- **the argument: ImageStim( name=image, win=Window( name=Window, fullscr=true, color=#808080, ~), autoDraw=null, autoLog=true, units=height, ori=null, opacity=1, pos=[0,0], size=[1.5,1], image={}, mask=undefined, color=#ffffff, contrast=1, texRes=128, interpolate=true, depth=null, flipHoriz=null, flipVert=null ) is not an image" }**

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

I am not quite sure what it’s referring to, as I have previously conducted an experiment online with the same characteristics and it worked just fine.

Thank you!!

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [June 1, 2020, 11:43am UTC](https://discourse.psychopy.org/t/problem-with-online-experiment-uploading-the-images/13833/2 "2020-06-01T11:43:22Z")

</div>

Are you calling the variable that contains the image file name “image”? I’d recommend trying something less generic just in case that’s used for something else by PsychoPy. If that fixes it I’ll add image to my list of terms to avoid on my crib sheet.

Best wishes,

Wakefield

> **[PsychoPy Python to Javascript crib sheet](https://docs.google.com/document/d/13jp0QAqQeFlYSjeZS0fDInvgaDzBXjGQNe4VNKbbNHQ/edit?usp=sharing)**
>
> PsychoPy version 2020.1.3Python to Javascript Crib Sheet Compiled by Wakefield Morys-Carter, Oxford Brookes UniversityPlease retweet Psych\_Stats. PsychoPy 2020 has an automatic Python to Javascript translation tool. This document contains...

---

<div class="post-metadata">

**Author:** ![Naomi.T](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@Naomi.T](https://discourse.psychopy.org/u/Naomi.T)\
**Post date:** [June 2, 2020, 3:35am UTC](https://discourse.psychopy.org/t/problem-with-online-experiment-uploading-the-images/13833/3 "2020-06-02T03:35:53Z")

</div>

Hi,  
were you able to resolve your issue? I’m having the exact same problem so would appreciate if you found a solution!

Thank you. 🙂

---

<div class="post-metadata">

**Author:** ![albap](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@albap](https://discourse.psychopy.org/u/albap)\
**Post date:** [June 2, 2020, 7:25am UTC](https://discourse.psychopy.org/t/problem-with-online-experiment-uploading-the-images/13833/4 "2020-06-02T07:25:28Z")

</div>

Hi Naomi, yes, what Wakefield suggested solved my problem. I just called my files something different than image and it worked. Also I deleted the entire experiment on PsychoPy and re-uploaded the new version. Did you try changing the name?

Alba
