Skip to content
Discussion options

You must be logged in to vote

Hi @aaron-cousins,

Because you are using a function (jsPsych.timelineVariable('stimulus')) in combination with the string to make the img tag, you'll need to use a dynamic parameter.

 preamble: function() { return '<img src="' +jsPsych.timelineVariable('stimulus')+ '">' },

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aaron-cousins
Comment options

Answer selected by aaron-cousins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants