﻿<?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 5  » for picture element, calling more than one item element</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 09 Sep 2026 10:47:40 GMT</lastBuildDate><ttl>20</ttl><item><title>for picture element, calling more than one item element</title><link>https://forums.millisecond.com/Topic22509.aspx</link><description>hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I am trying to list several item names within a picture element, but i'm getting a warning. How do I properly list several items? &lt;br/&gt;&lt;br/&gt;&amp;lt;picture oldStim&amp;gt;&lt;br/&gt;/ items = stim1_Indoor, stim1_Outdoor, stim2_Indoor, stim2_Outdoor&lt;br/&gt;/ size = (30%, 30%)&lt;br/&gt;/ select = values.oldStim&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&amp;lt;item stim1_Outdoor&amp;gt;&lt;br/&gt;/1 = "outdoorPics/Outdoor_1.jpg"&lt;br/&gt;/2 = "outdoorPics/Outdoor_2.jpg"&lt;br/&gt;/3 = "outdoorPics/Outdoor_3.jpg"&lt;br/&gt;/4 = "outdoorPics/Outdoor_4.jpg"&lt;br/&gt;/5 = "outdoorPics/Outdoor_5.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item stim2_Outdoor&amp;gt;&lt;br/&gt;/1 = "outdoorPics/Outdoor_27.jpg"&lt;br/&gt;/2 = "outdoorPics/Outdoor_28.jpg"&lt;br/&gt;/3 = "outdoorPics/Outdoor_29.jpg"&lt;br/&gt;/4 = "outdoorPics/Outdoor_30.jpg"&lt;br/&gt;/5 = "outdoorPics/Outdoor_31.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item stim1_Indoor&amp;gt;&lt;br/&gt;/1 = "indoorPics/Indoor_1.jpg"&lt;br/&gt;/2 = "indoorPics/Indoor_2.jpg"&lt;br/&gt;/3 = "indoorPics/Indoor_3.jpg"&lt;br/&gt;/4 = "indoorPics/Indoor_4.jpg"&lt;br/&gt;/5 = "indoorPics/Indoor_5.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item stim2_Indoor&amp;gt;&lt;br/&gt;/1 = "indoorPics/Indoor_27.jpg"&lt;br/&gt;/2 = "indoorPics/Indoor_28.jpg"&lt;br/&gt;/3 = "indoorPics/Indoor_29.jpg"&lt;br/&gt;/4 = "indoorPics/Indoor_30.jpg"&lt;br/&gt;/5 = "indoorPics/Indoor_31.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;</description><pubDate>Mon, 18 Sep 2017 09:37:19 GMT</pubDate><dc:creator>nrouhani</dc:creator></item><item><title>RE: for picture element, calling more than one item element</title><link>https://forums.millisecond.com/Topic22515.aspx</link><description>&lt;div data-id="22509" class="if-quote-wrapper" unselectable="on" data-guid="1505752373712"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22509" 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="22509" 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="22509" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nrouhani - Sunday, September 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22509"&gt;&lt;div class="if-quote-message-margin"&gt;hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I am trying to list several item names within a picture element, but i'm getting a warning. How do I properly list several items? &lt;br/&gt;&lt;br/&gt;&amp;lt;picture oldStim&amp;gt;&lt;br/&gt;/ items = stim1_Indoor, stim1_Outdoor, stim2_Indoor, stim2_Outdoor&lt;br/&gt;/ size = (30%, 30%)&lt;br/&gt;/ select = values.oldStim&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&amp;lt;item stim1_Outdoor&amp;gt;&lt;br/&gt;/1 = "outdoorPics/Outdoor_1.jpg"&lt;br/&gt;/2 = "outdoorPics/Outdoor_2.jpg"&lt;br/&gt;/3 = "outdoorPics/Outdoor_3.jpg"&lt;br/&gt;/4 = "outdoorPics/Outdoor_4.jpg"&lt;br/&gt;/5 = "outdoorPics/Outdoor_5.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item stim2_Outdoor&amp;gt;&lt;br/&gt;/1 = "outdoorPics/Outdoor_27.jpg"&lt;br/&gt;/2 = "outdoorPics/Outdoor_28.jpg"&lt;br/&gt;/3 = "outdoorPics/Outdoor_29.jpg"&lt;br/&gt;/4 = "outdoorPics/Outdoor_30.jpg"&lt;br/&gt;/5 = "outdoorPics/Outdoor_31.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item stim1_Indoor&amp;gt;&lt;br/&gt;/1 = "indoorPics/Indoor_1.jpg"&lt;br/&gt;/2 = "indoorPics/Indoor_2.jpg"&lt;br/&gt;/3 = "indoorPics/Indoor_3.jpg"&lt;br/&gt;/4 = "indoorPics/Indoor_4.jpg"&lt;br/&gt;/5 = "indoorPics/Indoor_5.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item stim2_Indoor&amp;gt;&lt;br/&gt;/1 = "indoorPics/Indoor_27.jpg"&lt;br/&gt;/2 = "indoorPics/Indoor_28.jpg"&lt;br/&gt;/3 = "indoorPics/Indoor_29.jpg"&lt;br/&gt;/4 = "indoorPics/Indoor_30.jpg"&lt;br/&gt;/5 = "indoorPics/Indoor_31.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22509"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;This is not possible. A &amp;lt;picture&amp;gt; element can only reference a single &amp;lt;item&amp;gt; element, not multiple (how would the &amp;lt;picture&amp;gt; element know which &amp;lt;item&amp;gt; element to use at any given point?). You need to put the images all in a single &amp;lt;item&amp;gt; element, and you can then select the items you want via the respective item _numbers_ by using e.g. &amp;lt;list&amp;gt; elements: &lt;a href="https://www.millisecond.com/forums/FindPost21766.aspx"&gt;https://www.millisecond.com/forums/FindPost21766.aspx&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 18 Sep 2017 09:37:19 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>