images missing with mozilla firefox


Author
Message
Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58

Hi, 


When our inquisit script is run with mozilla firefox, the images do not show up. Any ideas why this is happening or how to fix it? Our script is pasted below. 


Thanks!


Shona



***********************************************************************


                  AFFECT MISATTRIBUTION PROCEDURE (AMP)


***********************************************************************



***********************************************************************


                                 SCRIPT INFO



updated for Inquisit 4.0 by K. Borchert (katjab@millisecond.com) for Millisecond Software LLC



last changed: 08-14-2012


***********************************************************************


                              BACKGROUND INFO


***********************************************************************


A script that implements the AMP measuring implicit attitudes towards flowers and insects. 


The script is designed to be easily adaptable to other target categories. 





***********************************************************************


                                 DEFAULTS


***********************************************************************


requires Inquisit 4.0.0.0 or higher



<defaults>


/ fontstyle = ("Arial", 3.5%)


/ screencolor = black


/ txbgcolor = black


/ txcolor = white


/ minimumversion = "4.0.0.0"


/canvasaspectratio = (4, 3)


</defaults>


***********************************************************************


                                 VALUES


***********************************************************************


***********************************************************************


Scoring


***********************************************************************



************


editable parameters


************




************


other parameters


************


<values>


</values>



***********************************************************************


                                 DATA


***********************************************************************


***********************************************************************


Data Columns


***********************************************************************


******************


Raw Data Files


******************


<data>


/file = "newpriming.iqdat"


/columns = [date, time, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency, trialdata, trialdata, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]


/separatefiles = true


</data>




***********************************************************************


                                 INSTRUCTIONS


***********************************************************************


***********************************************************************


Task instruction stimuli


***********************************************************************



<list instructions>


/ items = (1, 2, 3, 4, 5, 6, 7)


/ resetinterval = 20


/ selectionmode = sequence


</list>



<trial instructions>


/ stimulustimes = [1=instructions, spacebar]


/ correctresponse = (" ")


/ errormessage = false


/ recorddata = false


</trial>



<text instructions>


/ items = instructions


/ hjustify = left


/ size = (90%, 60%)


/ position = (50%, 85%)


/ valign = bottom


/ select = sequence


</text>



<item instructions>


/ 1 = "This study examines memory and also how people make simple judgments about political and other issues.~n~nYou will see a picture appear briefly followed by a sentence. Please try to attend to the pictures as your memory of them will be tested in a later part of the experiment. When you are presented with a sentence, please judge whether you 'disagree' or 'agree' with the opinion expressed by that sentence."


/ 2 = "Put your middle or index fingers on the E and I keys of your keyboard. If you disagree more than you than agree with the sentence, then press the E key on the left. If you agree more than you disagree with the sentence, then press the I key on the right. 



Give us an honest assessment of the sentences, regardless of the images that precede them."


/ 3 = "To get a feel for the task, we will begin with 5 practice trials. Again, your task is to judge whether you disagree or agree with the sentences by pressing either the 'E' or 'I' key."


/ 4 = "Practice is now complete and the task will now begin. As a reminder, if you feel that disagree with the sentence, press the 'E' key. If you feel that you agree with the sentence, press the 'I' key."


</item>



<text spacebar>


/ items = ("Press the SPACE BAR to begin.")


/ position = (50%, 95%)


/ valign = bottom


</text>





***********************************************************************


                                 STIMULI


***********************************************************************



***********************************************************************


This sample AMP can be easily adapted to different target categories 


and attributes. To change the categories, you need only change the 


stimulus items and labels immediately below this line.



***********************************************************************



<item attributeAlabel>


/1 = "Agree"


</item>



<item attributeBlabel>


/1 = "Disagree"


</item>



<item primeClabel>


/1 = "real_pics_2"


</item>



<item primeBlabel>


/1 = "real_pics_1"


</item>



<item primeAlabel>


/1 = "practice_pics"


</item>



<item fixation> 


/1= "fixation.jpg"


</item>



<item practice_pics>


/1= "2388.jpg"


/2= "2630.JPG"


/3= "1726.jpg"


/4= "2000.JPG"


/5= "5535.jpg"


</item>



<item real_pics_1>


/1= "1022.jpg"


/2= "2310.jpg"


/3= "7380.jpg"


/4= "3280.jpg"


/5= "5201.jpg"


/6= "2560.jpg"


/7= "1500.jpg"


/8= "9330.jpg"


/9= "8230.jpg"


/10= "4651.JPG"


/11= "4608.jpg"


/12= "9000.JPG"


/13= "7361.jpg"


/14= "9830.jpg"


/15= "9490.jpg"


/16= "3061.jpg"


/17= "9600.jpg"


/18= "5870.JPG"


/19= "4656.jpg"


/20= "2130.jpg"


/21= "9912.jpg"


/22= "2312.jpg"


/23= "1301.jpg"


/24= "1052.jpg"


/25= "9331.jpg"


/26= "4599.JPG"


/27= "5780.JPG"


/28= "4653.JPG"


/29= "9190.jpg"


/30= "2520.jpg"


/31= "2700.jpg"


/32= "4700.JPG"


/33= "2058.jpg"


/34= "2160.JPG"


/35= "2150.JPG"


/36= "9290.jpg"


/37= "8400.JPG"


/38= "8370.JPG"


/39= "8117.jpg"


/40= "7360.jpg"


/41= "9373.jpg"


/42= "4681.jpg"


/43= "2550.JPG"


/44= "2260.JPG"


/45= "8220.JPG"


/46= "8200.JPG"


/47= "8031.jpg"


/48= "8034.jpg"


/49= "9360.jpg"


/50= "9210.jpg"


/51= "6570.JPG"


/52= "8120.JPG"


/53= "1942.jpg"


/54= "4652.JPG"


/55= "4810.JPG"


/56= "9560.JPG"


/57= "6360.JPG"


/58= "9810.jpg"


</item>



<item real_pics_2>


/1= "9120.jpg"


/2= "9594.jpg"


/3= "3051.JPG"


/4= "1931.jpg"


/5= "1930.jpg"


/6= "8010.jpg"


/7= "2480.jpg"


/8= "2440.jpg"


/9= "5972.jpg"


/10= "1113.jpg"


/11= "5970.jpg"


/12= "2271.jpg"


/13= "2490.jpg"


/14= "7110.jpg"


/15= "7234.jpg"


/16= "7224.jpg"


/17= "8260.JPG"


/18= "8116.jpg"


/19= "4689.jpg"


/20= "4659.jpg"


/21= "4672.jpg"


/22= "4683.jpg"


/23= "7501.JPG"


/24= "5990.JPG"


/25= "4670.jpg"


/26= "4687.jpg"


/27= "4687.jpg"


/28= "4800.JPG"


/29= "7031.jpg"


/30= "7004.jpg"


/31= "7060.JPG"


/32= "2206.JPG"


/33= "7010.JPG"


/34= "7175.jpg"


/35= "2530.JPG"


/36= "8030.JPG"


/37= "2304.jpg"


/38= "5971.jpg"


/39= "3400.JPG"


/40= "2900.JPG"


/41= "5891.JPG"


/42= "8040.JPG"


/43= "1110.jpg"


/44= "9390.jpg"


/45= "1945.jpg"


/46= "4669.jpg"


/47= "1302.jpg"


/48= "1321.jpg"


/49= "1275.JPG"


/50= "7217.jpg"


/51= "7950.jpg"


/52= "7000.jpg"


/53= "7006.jpg"


/54= "9584.jpg"


/55= "1240.JPG"


/56= "2345.jpg"


/57= "2216.jpg"


/58= "7502.jpg"


</item>







***********************************************************************


To change the categories, you need only change the stimulus items and 


labels immediately above this line. All commands below relate to the 


AMP procedure, and need only be changed if you wish to modify the 


generic AMP procedure.


***********************************************************************





***********************************************************************


Symbol and neutral stimuli


***********************************************************************



<text real_textquestions_1>


/size = (50%, 50%)


/items = real_textquestions_1


/position = (50%, 70%)


/halign = center


/select = noreplacenorepeat


/selectionrate = always


</text>



<text real_textquestions_2>


/size = (50%, 50%)


/items = real_textquestions_2


/position = (50%, 70%)


/halign = center


/select = noreplacenorepeat


/selectionrate = always


</text>



<text practice_textquestions>


/size = (50%, 50%)


/items = practice_textquestions


/position = (50%, 70%)


/halign = center


/select = noreplacenorepeat


/selectionrate = always


</text>



<item real_textquestions_1>


/1= "We should have more restricted immigration policies."


/2= "Large budgets for police departments should be protected."


/3= "Tax breaks should be maintained for large corporations."


/4= "Stricker sentencing for drug offenders should be enforced."


/5= "The death penalty should be a legal option for some crimes."


/6= "We should have more tax cuts."


/7= "Abortion is morally wrong."


/8= "In general, I find society to be unfair."


/9= "The authorities generally turn out to be right about things."


/10= "Women should obey their husbands."


/11= "The radical new ways are ruining our country."


/12= "It is always better to trust in government and religion."


/13= "Our country should get back to its traditional values."


/14= "It's a good thing that certain groups are at the top and other groups are at the bottom."


/15= "Our country will be great if we honor the ways of our forefathers."


/16= "God’s laws about abortion, pornography and marriage must be strictly followed."


/17= "Certain groups should just accept their traditional place in society."


/18= "The United States is the best country in the world to live in."


/19= "Most policies serve the greater good."


/20= "Everyone has a fair shot at wealth and happiness."


/21= "Society is set up so that people usually get what they deserve."


/22= "The welfare system does not give people enough incentive to find work."


/23= "Overall, labor unions tend to hurt the U.S. economy."


/24= "The death penalty should be used as punishment for heinous crimes."


/25= "Federal tax cuts are worthwhile because they help strengthen the economy."


/26= "The USA should consider bombing Iran’s nuclear development sites."


/27= "The United States invasion of Iraq was a good idea."


/28= "Some groups of people are simply inferior to other groups."


/29= "It's OK if some groups have more of a chance in life than others."


/30= "We would have fewer problems in society if certain groups would stay in their place."


/31= "Affirmative action policies are a good idea."


/32= "Government-sponsored national healthcare is a good idea."


/33= "Stem cell research should be allowed."


/34= "Same-sex marriage should be legalized."


/35= "Gay marriage should be legal."


/36= "Welfare is a worthwhile social service."


/37= "Unions are important."


/38= "Affirmative action is important and worthwhile."


/39= "We should have stricter gun control policies."


/40= "Gays and lesbians are just as healthy and moral as anybody else."


/41= "Atheists are as virtuous as those who attend church regularly."


/42= "There is absolutely nothing wrong with nudist camps."


/43= "Our country needs more free thinkers who have the courage to defy traditional ways."


/44= "Everyone should have their own lifestyle, religious beliefs, and sexual preferences."


/45= "I admire those who protested for women’s abortion rights."


/46= "Some of the best people in our country are those who are challenging our government and criticizing religion."


/47= "No one group should dominate in society."


/48= "There is no “ONE right way” to live life."


/49= "Homosexuals and feminists should be praised for being brave enough to defy “traditional family values."


/50= "We should strive to make incomes as equal as possible."


/51= "I drink coffee most mornings."


/52="I exercise regularly."


/53= "I usually like to use air conditioning when it is hot outside."


/54= "I like to watch soccer."


/55= "I tend to talk more than most people."


/56= "A monkey is an animal."


/57= "A coyote is an animal."


/58= "A pipe is an animal."


</item>





<item real_textquestions_2>


/1= "A woman should have the right to choose what to do with her body, even if that means getting an abortion."


/2= "Homosexuals should have the same right to marriage as anyone else."


/3= "Affirmative action is important and worthwhile."


/4= "We need stricter gun control laws."


/5= "It would be good if groups could be equal."


/6= "Group equality should be our ideal."


/7= "All groups should be given an equal chance in life."


/8= "We should do what we can to equalize conditions for different groups."


/9= "We should strive to increase social equality."


/10= "I do not know how to handle my emotions, so I avoid them."


/11= "I find strong emotions overwhelming and therefore try to avoid them."


/12= "Emotions are dangerous."


/13= "I would prefer not to experience either the lows or highs of emotion."


/14= "I tend to be afraid of feeling emotions." 


/15= "I would love to be totally logical and experience little emotion." 


/16= "I have trouble telling the people close to me that I love them." 


/17= "Displays of emotions are embarrassing."


/18= "Acting on one’s emotions is always a mistake." 


/19= "I am sometimes afraid of how I might act if I become too emotional."


/20= "Avoiding emotional events helps me sleep better at night." 


/21= "I wish I could feel less emotion."


/22= "People can function most effectively when they are not experiencing strong emotions."


/23= "I try not to indulge my emotions."


/24= "I do not like to dwell on my emotions."


/25= "I prefer complex to simple problems."


/26= "Thinking is my idea of fun."


/27= "I enjoy challenging my thinking abilities."


/28= "I enjoy thinking in depth about something."


/29= "I find satisfaction in deliberating hard and for long hours."


/30= "I often think harder than I have to."


/31= "I like tasks that require thought."


/32= "The idea of relying on thought to make my way to the top appeals to me."


/33= "I really enjoy a task that involves coming up with new solutions to problems."


/34= "Learning new ways to think excites me."


/35= "I prefer my life to be filled with puzzles that I must solve."


/36= "The notion of thinking abstractly is appealing to me."


/37= "I like tasks that require a lot of thinking."


/38= "The invasion of Iraq by the USA was a good idea."


/39= "It is alright if people do not have equal chances in life"


/40= "We should do what we can to equalize conditions for everyone."


/41= "Forcing equal treatment for everyone will create more problems than it solves."


/42= "One should find ways to help others less fortunate than oneself."


/43= "There should be equality for everyone."


/44= "We are obligated to help those who are unable to provide for themselves."


/45= "it is sometimes necessary to use force against some groups."


/46= "To get ahead in life, it is sometimes necessary to step on other groups."


/47= "In general, the American political system operates as it should."


/48= "American society needs to be radically restructured."


/49= "Our society is getting worse every year."


/50= "We would have fewer problems if we treated people more equally."


/51= "I eat more candy than most people."


/52= "I like dogs."


/53= "I chew gum regularly"


/54= "I drink tea most mornings."


/55= "I enjoy watching basketball."


/56= "A pig is an animal."


/57= "A chair is an animal."


/58= "A ferret is an animal."


</item>




<item practice_textquestions>


/1= "I voted for Obama in our last election."


/2= "I enjoy solitary leisure activities."


/3= "I like cats."


/4= "I watch the news frequently."


/5= "I believe that laws should be unquestionably followed." 


</item>



<shape blank>


/ shape = rectangle


/ color = black


/ size = (305%, 305%)


</shape>



<shape erasescreen>


/color= (255,255,255)


/size = (100%, 100%)


</shape>



<picture fixation>


/ items = fixation


/ size = (70%, 70%)


</picture>



<picture real_pics_2>


/ items = real_pics_2


/ size = (55%, 55%)


/select = noreplacenorepeat


</picture>



<picture real_pics_1>


/ items = real_pics_1


/ size = (55%, 55%)


/select = noreplacenorepeat


</picture>



<picture practice_pics>


/ items = practice_pics


/ size = (55%, 55%)


/select = noreplacenorepeat


</picture>




<text attributeAlabel>


/ items = attributeAlabel


/ valign = top


/ halign = right


/ position = (95%, 5%)


/ txcolor = green


/ fontstyle = ("Arial", 5%)


</text>



<text attributeBlabel>


/ items = attributeBlabel


/ valign = top


/ halign = left


/ position = (5%, 5%)


/ txcolor = green


/ fontstyle = ("Arial", 5%)


</text>



<text error>


/ position = (50%, 5%)


/ items = ("X")


/ color = (255, 0, 0)


/ fontstyle = ("Arial", 10%, true)


</text>



<picture mask>


/ items = ("mask.jpg")


/ size = (58%, 58%)


</picture>




***********************************************************************


Trials


***********************************************************************


<trial practice>


/ validresponse = ("E", "I")


/ correctresponse = ("I")


/ stimulustimes = [0=fixation; 1350=practice_pics; 1600=mask; 1650=blank; 1775=practice_textquestions]


</trial>



<trial real_1>


/ validresponse = ("E", "I")


/ correctresponse = ("I")


/ stimulustimes = [0=fixation; 1350=real_pics_1; 1600=mask; 1650=blank; 1775=real_textquestions_1]


/ trialdata = [real_pics_1, real_textquestions_1]


</trial>



<trial real_2>


/ validresponse = ("E", "I")


/ correctresponse = ("I")


/ stimulustimes = [0=fixation; 950=real_pics_2; 1200=mask; 1250=blank; 1375=real_textquestions_2]


/ trialdata = [real_pics_2, real_textquestions_2]


</trial>




***********************************************************************


Blocks


***********************************************************************



<block practice>


/ bgstim = (attributeAlabel, attributeBlabel)


/ trials = [1-3 = instructions; 4-8 = noreplacenorepeat(practice)]


/ recorddata = false


</block>



<block test>


/ bgstim = (attributeAlabel, attributeBlabel)


/ trials = [1 = instructions; 2-111 = noreplacenorepeat(real_1, real_2)]


</block>





***********************************************************************


Experiment


***********************************************************************


<expt>


/ blocks = [1=practice; 2=test]


</expt>



***********************************************************************


Test Monkey


***********************************************************************


<monkey>


/ latencydistribution = normal(500, 100)


/ percentcorrect = 90


</monkey>





***********End of Script********************




Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

This has nothing to do with Firefox. The problem is your wrong use of <item> elements. These definitions do not make sense:



<item primeClabel>


/1 = "real_pics_2"


</item>



<item primeBlabel>


/1 = "real_pics_1"


</item>



<item primeAlabel>


/1 = "practice_pics"


</item>






Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58

If I delete them, will my images show up?


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

You can delete them because they are not actually used anywhere in your script. That, however, will not magically make anything show up which you have not programmed in.


Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58

I don't understand. The images show up fine on my computer so how could they not be programed in? What am I missing?


Thanks!


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Then they should, for all intents and purposes, also show up when you run things on the web, provided that you have uploaded all required files to the server. Otherwise you'd see error messages.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search