Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Images

30 views
Skip to first unread message

Hansika Kapoor

unread,
Mar 8, 2024, 6:57:30 AM3/8/24
to Minno.js
Hi everyone,

I need some help with adding my own images to an IAT. I have tried changing the base_url to my github directory where the images are located (https://github.com/hansika-k/iat/tree/main/imagesjpg) but it doesn't seem to work. 

I have compressed all the images (none above 15kb) and they are all in .jpg format. 

I have also tried the link from a root directory directly (not where my .js is stored) - that didn't work either. 

This is the screenshot of the error I'm facing -- I'm running this on Qualtrics and am aware that this Google group may not support the IATs on Qualtrics anymore, but I'm really stuck and need help.

The link (https://baranan.github.io/minno-tasks/images/) in the template here goes to a 404 page so I'm not sure whether the images need to be in a certain format or not.

Any help would be really appreciated - and thanks so much for the great tutorials on Minno JS :)

Best,
Hansika

Hansika Kapoor

unread,
Mar 8, 2024, 7:00:56 AM3/8/24
to Minno.js
Sorry, don't think the screenshot went through - here it is
Screenshot 2024-03-08 at 5.29.59 PM.png

Yoav Bar-Anan

unread,
Mar 8, 2024, 7:16:06 AM3/8/24
to Hansika Kapoor, Minno.js
Hi Hansika, 

Github pages does not show a folder view, but if you add any of the photos from IAT to https://baranan.github.io/minno-tasks/images/, you will see the image. For example:
https://baranan.github.io/minno-tasks/images/ym5.jpg

So, the main question is whether when you merge the base URL that you give the IAT script with an image name you gave to the items list, you can see that image. If not, then you probably need to modify one of them, or investigate why that full url for the jpg is not accessible. 

I found that this url works fine:
https://hansika-k.github.io/iat/imagesjpg/IB2.jpg

So, in your iat script, you need to set the base_url with the relevant link. Here are a couple of values that might work:
base_url : {//Where are your images at?
image : ' https://hansika-k.github.io/iat/imagesjpg/ '
}
or: 
base_url : {//Where are your images at?
image : ' ./imagesjpg/'
}

Good luck,
Yoav

--
You received this message because you are subscribed to the Google Groups "Minno.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minnojs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/84c90a39-e975-4f97-a2df-972176e94096n%40googlegroups.com.

Hansika Kapoor

unread,
Mar 9, 2024, 1:23:25 AM3/9/24
to Minno.js

Hi Yoav,

Thanks so much for the explanation -- it works and how! Thanks again :)

Best,
Hansika
Message has been deleted

Hansika Kapoor

unread,
May 24, 2024, 11:00:10 AM5/24/24
to Minno.js
Hi everyone,

I need some help adding the feedback parameters to the existing IAT code. There's a client who's insisting on seeing the real-time feedback for establishing a proof of concept - so I just need to do this once (I know it isn't recommended).

I'm a bit confused about where the parameters should be entered; right now I've tried to add the code on line 312 here, and even though the IAT runs, the feedback is not displayed. I tried adding the feedback parameters after the "//Error messages in the feedback" part of the code as well -- it didn't work either. I also tried adding the parameters to this directly (which definitely didn't work.) Again, I'm running this on Qualtrics and am aware that this Google group may not support the IATs on Qualtrics anymore, but I'm stuck again unfortunately.

Any help would be great, thank you.

Best,
Hansika
Reply all
Reply to author
Forward
0 new messages