Thank you for your response. Here's my code. Please let me know if there are other files that would be helpful. My URL does retrieve images successfully, though I have not figured out how to get the image to display at the angle that I want it.
define(['managerAPI'], function(Manager) {
var API = new Manager();
API.setName('mgr'); //Sets the task's name in the data, in case you use API.save to save data [should use the task 'post' instead, as shown below in the manager's sequence]
API.addSettings('skip',true); //Allows using Esc+arrows to move between tasks when testing the study.
//Randomly assigned a between participants condition.
var dummy = API.shuffle(['cond1','cond2'])[0];
//rich
var cond1images = API.shuffle(['FIPS%2006041.jpg', 'FIPS%2008035-3.jpg', 'FIPS%2024027_3.jpg', 'FIPS%2034019_2.jpg', 'FIPS%2035028.jpg', 'FIPS%2036059.jpg', 'FIPS%2051107.jpg']);
//poor
var cond2images = API.shuffle(['FIPS%2048229.jpg', 'FIPS%2046113.jpg', 'FIPS%2038085-2.jpg', 'FIPS%2028051.jpg', 'FIPS%2022035.jpg', 'FIPS%2021237.jpg', 'FIPS%2013061.jpg']);
var backgroundImage = dummy === 'cond1' ? cond1images[0] : cond2images[0];
var params = {dummyCond:dummy, backgroundImage:backgroundImage};
//The variables shared by all tasks
API.addGlobal({
baseURL: '/implicit/user/heidiv/places_iat_fixed/images/',
mins: '9',
cat1: 'Black',
cat2: 'White',
backgroundImage: backgroundImage
});
Thank you!