Millisecond Forums

Instruction - htmlpage - pictures are not displayed

https://forums.millisecond.com/Topic23877.aspx

By alexa - 2/14/2018

Hello!
I have a question concerning the instruction. I have implemented htmlpage as I want to present pictures in the instruction. Therefore, I build a word document and converted it to .htm. The syntax look as follows:

<instruct>
/ windowsize = (100%,80%)
/ inputdevice = keyboard
/ prevkey = (25)
/ nextkey = (57)
/ prevlabel = "Zurück (P)"
/ nextlabel = "Weiter (Leertaste)"
/ finishlabel = "Start (Leertaste)"
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
</instruct>

<htmlpage I_1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_1.htm"
</htmlpage>

<htmlpage I_2_g1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g1.htm"
</htmlpage>

<htmlpage I_2_g2 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g2.htm"
</htmlpage>

<htmlpage I_3 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_3.htm"
</htmlpage>

I have two groups so that htmlpage I_2 is different:

<expt>
/ onexptbegin = [values.expcondition = 1]
/ subjects = (1 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g1,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

<expt>
/ onexptbegin = [values.expcondition = 2]
/ subjects = (2 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g2,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

The syntax is working, but the pictures (in I_2_g1 and I_2_g2) are not displayed. I have already tried some options. What is wrong?

Thank you for your help!
By Dave - 2/15/2018

alexa - Thursday, February 15, 2018
Hello!
I have a question concerning the instruction. I have implemented htmlpage as I want to present pictures in the instruction. Therefore, I build a word document and converted it to .htm. The syntax look as follows:

<instruct>
/ windowsize = (100%,80%)
/ inputdevice = keyboard
/ prevkey = (25)
/ nextkey = (57)
/ prevlabel = "Zurück (P)"
/ nextlabel = "Weiter (Leertaste)"
/ finishlabel = "Start (Leertaste)"
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
</instruct>

<htmlpage I_1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_1.htm"
</htmlpage>

<htmlpage I_2_g1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g1.htm"
</htmlpage>

<htmlpage I_2_g2 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g2.htm"
</htmlpage>

<htmlpage I_3 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_3.htm"
</htmlpage>

I have two groups so that htmlpage I_2 is different:

<expt>
/ onexptbegin = [values.expcondition = 1]
/ subjects = (1 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g1,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

<expt>
/ onexptbegin = [values.expcondition = 2]
/ subjects = (2 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g2,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

The syntax is working, but the pictures (in I_2_g1 and I_2_g2) are not displayed. I have already tried some options. What is wrong?

Thank you for your help!

There is nothing wrong with the Inquisit syntax, there likely is something wrong with the HTML files you generated. Either the images aren't located where the HTML pages expected them to be or the HTML code is otherwise broken. If you put the HTML files in a ZIP file (include all external files those HTML pages need, i.e. the images they're supposed to display), I should be able to tell you what's wrong with them and how to fix that.
By alexa - 2/18/2018

Dave - Thursday, February 15, 2018
alexa - Thursday, February 15, 2018
Hello!
I have a question concerning the instruction. I have implemented htmlpage as I want to present pictures in the instruction. Therefore, I build a word document and converted it to .htm. The syntax look as follows:

<instruct>
/ windowsize = (100%,80%)
/ inputdevice = keyboard
/ prevkey = (25)
/ nextkey = (57)
/ prevlabel = "Zurück (P)"
/ nextlabel = "Weiter (Leertaste)"
/ finishlabel = "Start (Leertaste)"
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
</instruct>

<htmlpage I_1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_1.htm"
</htmlpage>

<htmlpage I_2_g1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g1.htm"
</htmlpage>

<htmlpage I_2_g2 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g2.htm"
</htmlpage>

<htmlpage I_3 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_3.htm"
</htmlpage>

I have two groups so that htmlpage I_2 is different:

<expt>
/ onexptbegin = [values.expcondition = 1]
/ subjects = (1 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g1,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

<expt>
/ onexptbegin = [values.expcondition = 2]
/ subjects = (2 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g2,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

The syntax is working, but the pictures (in I_2_g1 and I_2_g2) are not displayed. I have already tried some options. What is wrong?

Thank you for your help!

There is nothing wrong with the Inquisit syntax, there likely is something wrong with the HTML files you generated. Either the images aren't located where the HTML pages expected them to be or the HTML code is otherwise broken. If you put the HTML files in a ZIP file (include all external files those HTML pages need, i.e. the images they're supposed to display), I should be able to tell you what's wrong with them and how to fix that.

OK, I have attached the HTML files in a ZIP file. 
Thank you very much for your help!
By Dave - 2/19/2018

alexa - Monday, February 19, 2018
Dave - Thursday, February 15, 2018
alexa - Thursday, February 15, 2018
Hello!
I have a question concerning the instruction. I have implemented htmlpage as I want to present pictures in the instruction. Therefore, I build a word document and converted it to .htm. The syntax look as follows:

<instruct>
/ windowsize = (100%,80%)
/ inputdevice = keyboard
/ prevkey = (25)
/ nextkey = (57)
/ prevlabel = "Zurück (P)"
/ nextlabel = "Weiter (Leertaste)"
/ finishlabel = "Start (Leertaste)"
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
</instruct>

<htmlpage I_1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_1.htm"
</htmlpage>

<htmlpage I_2_g1 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g1.htm"
</htmlpage>

<htmlpage I_2_g2 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_2_g2.htm"
</htmlpage>

<htmlpage I_3 >
/file = "C:/Users/XXX-PC/Desktop/GNG/Prätest/I_3.htm"
</htmlpage>

I have two groups so that htmlpage I_2 is different:

<expt>
/ onexptbegin = [values.expcondition = 1]
/ subjects = (1 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g1,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

<expt>
/ onexptbegin = [values.expcondition = 2]
/ subjects = (2 of 2)
/ groupassignment = groupnumber
/ preinstructions = (I_1,I_2_g2,I_3)
/ postinstructions = (end)
/ blocks = [1=testblock]
/ onexptend = [values.completed = 1]
</expt>

The syntax is working, but the pictures (in I_2_g1 and I_2_g2) are not displayed. I have already tried some options. What is wrong?

Thank you for your help!

There is nothing wrong with the Inquisit syntax, there likely is something wrong with the HTML files you generated. Either the images aren't located where the HTML pages expected them to be or the HTML code is otherwise broken. If you put the HTML files in a ZIP file (include all external files those HTML pages need, i.e. the images they're supposed to display), I should be able to tell you what's wrong with them and how to fix that.

OK, I have attached the HTML files in a ZIP file. 
Thank you very much for your help!

Thanks for providing the files and source documents. I've attached a set of fixed HTMLs.