﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 6  » Randomly chosen picture in data</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 05 May 2026 17:14:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Randomly chosen picture in data</title><link>https://forums.millisecond.com/Topic31659.aspx</link><description>Dear all,&lt;br/&gt;In this part of my experiment, participants should be shown one of three images (randomly) and are asked to indicate which persons they recognize from that image. So far, I think I have managed.&amp;nbsp;However, in the data file I cannot extract which picture was shown and hence whether their answer was correct or not. Any clues on how to tackle this issue? Instead of image, I tried to use the picture function, but that doesn’t connect to my survey page question.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;survey probe_recognition&amp;gt;&lt;br/&gt;/ pages = [1= probe_recognition_page]&lt;br/&gt;/ finishlabel = "Continue"&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage probe_recognition_page&amp;gt;&lt;br/&gt;/ questions = [1= probe_recognition_images; 2= probe_recognition_question1; 3= probe_recognition_question2]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [if(dropdown.probe_recognition_question1.response == dropdown.probe_recognition_question2.response) surveypage.probe_recognition_page]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown probe_recognition_question1&amp;gt;&lt;br/&gt;/ caption = "Which 2 people do you recognize from THE FILM?"&lt;br/&gt;/ subcaption = "Select the number of one of the actors:"&lt;br/&gt;/ fontstyle = ("Calibri", 2.5%)&lt;br/&gt;/ options = ("1","2","3","4","5","6","7","8","9","10","11","12","13","14")&lt;br/&gt;/ required = true&lt;br/&gt;/ position = (50%,30%)&lt;br/&gt;&amp;lt;/dropdown&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown probe_recognition_question2&amp;gt;&lt;br/&gt;/ caption = "Select the number of the other actor:"&lt;br/&gt;/ fontstyle = ("Calibri", 2.5%)&lt;br/&gt;/ options = ("1","2","3","4","5","6","7","8","9","10","11","12","13","14")&lt;br/&gt;/ required = true&lt;br/&gt;/ position = (50%,45%)&lt;br/&gt;&amp;lt;/dropdown&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image probe_recognition_images&amp;gt;&lt;br/&gt;/ items = noreplacenorepeat("probe_recognition1.png"&amp;amp; "probe_recognition2.png"&amp;amp; "probe_recognition3.jpeg")&lt;br/&gt;/ position = (0%,1%)&lt;br/&gt;/ size = (100%, 98%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture probe_recognition_picture&amp;gt;&lt;br/&gt;/ items = noreplacenorepeat("probe_recognition1.png"&amp;amp; "probe_recognition2.png"&amp;amp; "probe_recognition3.jpeg")&lt;br/&gt;/ position = (0%, 1%)&lt;br/&gt;/ size = (100%, 98%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item probe_recognition1&amp;gt;&lt;br/&gt;/ 1 = "Probe_recognition1.png"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&amp;lt;item probe_recognition2&amp;gt;&lt;br/&gt;/ 1 = "Probe_recognition2.png"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&amp;lt;item probe_recognition3&amp;gt;&lt;br/&gt;/ 1 = "Probe_recognition3.jpeg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;Thanks in advance!&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 07 Jun 2021 10:51:13 GMT</pubDate><dc:creator>LindaInquisit</dc:creator></item><item><title>RE: Randomly chosen picture in data</title><link>https://forums.millisecond.com/Topic31662.aspx</link><description>&lt;blockquote data-id="31659" class="if-quote-wrapper" unselectable="on" data-guid="1623062946813" id="if_insertedNode_1623062946112" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31659" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="31659" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="31659" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;LindaInquisit - 6/5/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-31659"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Dear all,&lt;br/&gt;In this part of my experiment, participants should be shown one of three images (randomly) and are asked to indicate which persons they recognize from that image. So far, I think I have managed.&amp;nbsp;However, in the data file I cannot extract which picture was shown and hence whether their answer was correct or not. Any clues on how to tackle this issue? Instead of image, I tried to use the picture function, but that doesn’t connect to my survey page question.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;survey probe_recognition&amp;gt;&lt;br/&gt;/ pages = [1= probe_recognition_page]&lt;br/&gt;/ finishlabel = "Continue"&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage probe_recognition_page&amp;gt;&lt;br/&gt;/ questions = [1= probe_recognition_images; 2= probe_recognition_question1; 3= probe_recognition_question2]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [if(dropdown.probe_recognition_question1.response == dropdown.probe_recognition_question2.response) surveypage.probe_recognition_page]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown probe_recognition_question1&amp;gt;&lt;br/&gt;/ caption = "Which 2 people do you recognize from THE FILM?"&lt;br/&gt;/ subcaption = "Select the number of one of the actors:"&lt;br/&gt;/ fontstyle = ("Calibri", 2.5%)&lt;br/&gt;/ options = ("1","2","3","4","5","6","7","8","9","10","11","12","13","14")&lt;br/&gt;/ required = true&lt;br/&gt;/ position = (50%,30%)&lt;br/&gt;&amp;lt;/dropdown&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown probe_recognition_question2&amp;gt;&lt;br/&gt;/ caption = "Select the number of the other actor:"&lt;br/&gt;/ fontstyle = ("Calibri", 2.5%)&lt;br/&gt;/ options = ("1","2","3","4","5","6","7","8","9","10","11","12","13","14")&lt;br/&gt;/ required = true&lt;br/&gt;/ position = (50%,45%)&lt;br/&gt;&amp;lt;/dropdown&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image probe_recognition_images&amp;gt;&lt;br/&gt;/ items = noreplacenorepeat("probe_recognition1.png"&amp;amp; "probe_recognition2.png"&amp;amp; "probe_recognition3.jpeg")&lt;br/&gt;/ position = (0%,1%)&lt;br/&gt;/ size = (100%, 98%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture probe_recognition_picture&amp;gt;&lt;br/&gt;/ items = noreplacenorepeat("probe_recognition1.png"&amp;amp; "probe_recognition2.png"&amp;amp; "probe_recognition3.jpeg")&lt;br/&gt;/ position = (0%, 1%)&lt;br/&gt;/ size = (100%, 98%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item probe_recognition1&amp;gt;&lt;br/&gt;/ 1 = "Probe_recognition1.png"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&amp;lt;item probe_recognition2&amp;gt;&lt;br/&gt;/ 1 = "Probe_recognition2.png"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&amp;lt;item probe_recognition3&amp;gt;&lt;br/&gt;/ 1 = "Probe_recognition3.jpeg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;Thanks in advance!&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="31659"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Please provide the full code as well as all files it requires to run (images, etc.). Put everything in a ZIP and then attach it to your post via +Insert -&amp;gt; Add FIle.&lt;br/&gt;&lt;br/&gt;Generally see: &lt;a href="https://www.millisecond.com/forums/FindPost15230.aspx"&gt;https://www.millisecond.com/forums/FindPost15230.aspx&lt;/a&gt;&lt;br/&gt;</description><pubDate>Mon, 07 Jun 2021 10:51:13 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>