| Reference | Downloads | Github

Unreadable code in image source

Description of the problem:

Dear all,

I have the following code line as an image source:

$'screen_trials/' + ad_orange + color_comb + pix_number + '.jpg'

so the source will be something like screen_trials/485rm1.jpg

Unfortunately on pavlovia I always get the unknown resource Error. Does anyone know what I missed there?

Best regards,

Are your images in your html -> resources folder? If not, try that.

That was the problem. Thank you for the quick reply!