<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Showing selective images</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Showing-selective-images-79787</link>
        <description></description>
        <pubDate>Sat, 11 Jul 2026 19:30:17 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Showing-selective-images-79787" rel="self" type="application/rss+xml" />

                <item>
          <title>Showing selective images</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235421#post2235421</link>
          <description><![CDATA[<p>Hi Ron</p>
<p>Thank you for your idea. It didn't quite work out for me but it got me on the right track. For anyone else that may be looking for a solution here's what i did:</p>
<p><code>&lt;?php if ($page['photos']): ?&gt;<br />&lt;?php $uploadCount = 0; ?&gt;<br />&lt;?php foreach ($page['photos'] as $upload): ?&gt;<br />&lt;?php if (++$uploadCount &lt; 3) { continue; } ?&gt;<br />         <br />&lt;div class="thumbnail"&gt;<br />&lt;!-- Image display code --&gt;<br />&lt;/div&gt;<br />                <br />&lt;?php endforeach ?&gt;<br /> &lt;?php endif ?&gt;</code></p>
]]></description>
          <pubDate>Tue, 25 Nov 2014 08:50:47 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235421#post2235421</guid>
        </item>
                <item>
          <title>Showing selective images</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235280#post2235280</link>
          <description><![CDATA[<p>Try this:</p>
<p><code>&lt;?php if ($page['photos']): ?&gt;<br />    &lt;?php $imageCount = 0 // Initialize counter ?&gt;<br />    &lt;?php foreach ($page['photos'] as $upload): ?&gt;<br />      &lt;?php $imageCount ++ // Increment the counter ?&gt;<br />      &lt;?php if($imageCount &lt; 3):continue // slip first 2 array elements ?&gt;<br />        &lt;div class="thumbnail"&gt;      <br />          &lt;!-- Image display code --&gt;<br />        &lt;/div&gt;      <br />    &lt;?php endforeach ?&gt;<br />&lt;?php endif ?&gt;</code></p>
]]></description>
          <pubDate>Tue, 04 Nov 2014 16:02:53 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235280#post2235280</guid>
        </item>
                <item>
          <title>Showing selective images</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235279#post2235279</link>
          <description><![CDATA[<p>Please can someone advise me how to show selected images</p>
<p>So instead of the code below which shows all uploads I would like to skip uploads 1 and 2 and begin with upload 3:</p>
<p><code>&lt;?php if ($page['photos']): ?&gt;<br /><br />&lt;?php foreach ($page['photos'] as $upload): ?&gt;<br /><br />&lt;div class="thumbnail"&gt;<br />&lt;img src="&lt;?php echo $upload['thumbUrlPath2'] ?&gt;" width="100%" title="&lt;?php echo htmlspecialchars($upload['info1']) ?&gt;" alt="&lt;?php echo htmlspecialchars($upload['info3']) ?&gt;" /&gt;&lt;?php if ($upload['info1']): ?&gt;<br /><br />&lt;div class="caption"&gt;&lt;?php echo htmlspecialchars($upload['info2']) ?&gt;&lt;/div&gt;<br />&lt;?php endif ?&gt;</code></p>
<p>thanks</p>]]></description>
          <pubDate>Tue, 04 Nov 2014 09:50:36 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235279#post2235279</guid>
        </item>
              </channel>
    </rss>
  