Description of the problem:
My experiment consists of an image stimulus appearing on screen and a few buttons for the user to choose based on the image. My image paths are present in a single column of excel file and looks like this -
When i run locally I am able to see the images but online the experiment page appears without the image.
The code in begin experiment is -
Image = [images] where images is the excel column with image paths.
and i am giving $Image to the image stimulus as below
My code for Each Frame recordes what decision the use makes based on mouse click and the continues , see below
if mouse_click.clicked_name != None:
if ‘real_button’ in mouse_click.clicked_name:
#real_button.opacity = 0.5
real_button.lineColor = ‘green’
thisExp.addData(‘Response’, ‘real’)
if Identity == ‘real’:
thisExp.addData(‘Score’, 1)
else:
thisExp.addData(‘Score’, 0)
elif ‘fake_button’ in mouse_click.clicked_name:
#fake_button.opacity = 0.5
fake_button.lineColor = ‘green’
thisExp.addData(‘Response’, ‘fake’)
if Identity == ‘fake’:
thisExp.addData(‘Score’, 1)
else:
thisExp.addData(‘Score’, 0)
if confidence_slider.rating and END_real_fake_trial.isPressedIn(Continue_image):
continueRoutine = False
I have tried a lot of things including putting images to resources folder, adding resources additionally, setting AutoDraw to true in begin routine etc. Any help in solving this is very appreciated as I am working against a tight deadline.
I can share the experiment link privately if that helps.
Thank you