<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Problem displaying galleries</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Problem-displaying-galleries-71636</link>
        <description></description>
        <pubDate>Tue, 14 Jul 2026 09:07:39 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Problem-displaying-galleries-71636" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [paulmac] Problem displaying galleries</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206216#post2206216</link>
          <description><![CDATA[Hi paulmac,<br /><br />All the code you've pasted looks good to me!<br /><br />Can you please attach the full PHP source code for your detail page? Also, do you have a URL which I can check out to see the problem?<br />]]></description>
          <pubDate>Fri, 20 Aug 2010 17:37:47 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206216#post2206216</guid>
        </item>
                <item>
          <title>Problem displaying galleries</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206207#post2206207</link>
          <description><![CDATA[Hi<br /><br />I've set up a page that can list a number of galleries and then when you click on the gallery title it take you in to a page that displays all the thumbnails for that gallery. My problem is that it is only showing the thumbnails of the first gallery. All other gallery detail pages show no thumbnails.<br /><br />The code for I've copied in to the list page is:<br /><br /><code>&lt;?php<br />  <br /><br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('/home/path/domains/domain_name/public_html/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once(&quot;$dir$libraryPath&quot;)) { break; }}<br />  if (!function_exists('getRecords')) { die(&quot;Couldn't load viewer library, check filepath in sourcecode.&quot;); }<br /><br />  // load records<br />  list($galleryRecords, $galleryMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'gallery',<br />  ));<br /><br />?&gt;</code><br /><br />The code I have for the details page is:<br /><br /><br /><br /><code>&lt;?php<br />  <br /><br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('/home/path/domains/domain_name/public_html/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once(&quot;$dir$libraryPath&quot;)) { break; }}<br />  if (!function_exists('getRecords')) { die(&quot;Couldn't load viewer library, check filepath in sourcecode.&quot;); }<br /><br />  // load records<br />  list($galleryRecords, $galleryMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'gallery',<br />    'where'       =&gt; whereRecordNumberInUrl(1),<br />    'limit'       =&gt; '1',<br />  ));<br />  $galleryRecord = @$galleryRecords[0]; // get first record<br /><br />  // show error message if no matching record is found<br />  if (!$galleryRecord) {<br />    header(&quot;HTTP/1.0 404 Not Found&quot;);<br />    print &quot;Record not found!&quot;;<br />    exit;<br />  }<br /><br />?&gt;</code><br /><br /><br />I thought it was something to do with the limit =&gt;'1' , but I took this out and no difference.<br /><br />Thanks for any help<br />]]></description>
          <pubDate>Fri, 20 Aug 2010 13:49:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206207#post2206207</guid>
        </item>
              </channel>
    </rss>
  