Image not displaying

URL of experiment: Pavlovia

Description of the problem: My images don’t display and the console gives the following errors:

TypeError: Cannot read property ‘0’ of undefined

FATAL unknown | {}
BrowserConsoleAppender.append @ log4javascript.min.js:1

Uncaught TypeError: Cannot read property ‘0’ of undefined

Uncaught TypeError: m.push is not a function

I have a vague suspicion that this has something to do with me making the Image use this thing to load what image to use.

$imagelist[imagelistidx[EncodeAssocLoop.thisN][imagecounter]][0]

(Note the 0 at the end)

But I’m not sure.

Please do look at my crib sheet (pinned post).

All loops need to be referenced as trials so your .thisN value needs changing.