Group: Forum Members
Posts: 110,
Visits: 369
|
Hi all,
I have a bit of niche problem - I've set up an online experiment after extensive offline testing (internal name PSPA). I tried it online one last time before starting data collection and noticed that the picture embedded in one of my html elements isn't showing up. I imagine this has to do with how the filename is parsed. For reference, my html file looks like this:
[code language="html"]<p align="center"><img src="<%picture.BobFace.item(1)%>" style="width:15%"></p><br><br>
<p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(1) else item.InfoText.item(11)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(2) else item.InfoText.item(12)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(3) else item.InfoText.item(13)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(4) else item.InfoText.item(14)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(5) else item.InfoText.item(15)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(6) else item.InfoText.item(16)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(7) else item.InfoText.item(17)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(8) else item.InfoText.item(18)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(9) else item.InfoText.item(19)%></p> <p style="font-family:verdana;font-size:120%;"><%if (values.PositivityStrength == "Highly Positive") item.InfoText.item(10) else item.InfoText.item(20)%></p>[/code]
The text is displayed as expected, so the Inquisit code is being parsed correctly. I'm not sure why the src attribute of the img element isn't working, though. I'd appreciate any input.
If anyone ends up testing the file, note that you can skip the first block of the main experiment to get to the problematic html display faster.
|