<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Simple Gallery</title>
	<atom:link href="http://www.srblair.com/2009/04/simple-image-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.srblair.com/2009/04/simple-image-gallery/</link>
	<description>If I can dream it, I can do it!                </description>
	<lastBuildDate>Sun, 10 Jan 2010 20:19:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: poleoluline</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-220</link>
		<dc:creator>poleoluline</dc:creator>
		<pubDate>Sat, 09 Jan 2010 04:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-220</guid>
		<description>Hello, in spirit on last question can i somehow sort them so that most recently added pics would be first ?

Tnx</description>
		<content:encoded><![CDATA[<p>Hello, in spirit on last question can i somehow sort them so that most recently added pics would be first ?</p>
<p>Tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nacheeto</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-214</link>
		<dc:creator>nacheeto</dc:creator>
		<pubDate>Mon, 21 Dec 2009 18:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-214</guid>
		<description>Is it possible to add Pagination to this gallery?</description>
		<content:encoded><![CDATA[<p>Is it possible to add Pagination to this gallery?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Blair</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-204</link>
		<dc:creator>Stephen Blair</dc:creator>
		<pubDate>Tue, 27 Oct 2009 13:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-204</guid>
		<description>In the index.php file place &lt;code&gt;sort($image);&lt;/code&gt; right above line 25 which reads &lt;code&gt;foreach($image as $disImage) {&lt;/code&gt;. This will sort the images by their file names ascending.</description>
		<content:encoded><![CDATA[<p>In the index.php file place <code>sort($image);</code> right above line 25 which reads <code>foreach($image as $disImage) {</code>. This will sort the images by their file names ascending.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ibexcentral</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-200</link>
		<dc:creator>ibexcentral</dc:creator>
		<pubDate>Mon, 26 Oct 2009 11:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-200</guid>
		<description>Hi,

I love this simple easy to use script.

What needs to be changed so that the images are sorted/ displayed in ascending name order? for example image 01 - Photo starts top left followed by 02 - Photo to the right and so on.

Cheers

Paul</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I love this simple easy to use script.</p>
<p>What needs to be changed so that the images are sorted/ displayed in ascending name order? for example image 01 &#8211; Photo starts top left followed by 02 &#8211; Photo to the right and so on.</p>
<p>Cheers</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Blair</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-192</link>
		<dc:creator>Stephen Blair</dc:creator>
		<pubDate>Fri, 25 Sep 2009 16:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-192</guid>
		<description>It could be that the script is not seeing any images in the directory you defined on line 2 of the config.php (&lt;code&gt;$dir = &#039;images&#039;; //Path to Image Folder&lt;/code&gt;). Double check and make sure the path to your images folder is correct.</description>
		<content:encoded><![CDATA[<p>It could be that the script is not seeing any images in the directory you defined on line 2 of the config.php (<code>$dir = 'images'; //Path to Image Folder</code>). Double check and make sure the path to your images folder is correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: h2bh</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-191</link>
		<dc:creator>h2bh</dc:creator>
		<pubDate>Fri, 25 Sep 2009 15:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-191</guid>
		<description>Heya Blair, testing ur script now atm.

Warning: Invalid argument supplied for foreach() in L:\xampp\htdocs\simplegallery\index.php on line 25

Whatsup with that?</description>
		<content:encoded><![CDATA[<p>Heya Blair, testing ur script now atm.</p>
<p>Warning: Invalid argument supplied for foreach() in L:\xampp\htdocs\simplegallery\index.php on line 25</p>
<p>Whatsup with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Blair</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-186</link>
		<dc:creator>Stephen Blair</dc:creator>
		<pubDate>Thu, 17 Sep 2009 19:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-186</guid>
		<description>&lt;p&gt;Off the top of my head about the only thing you could do is to have the filename of the image as a caption (image.jpg) when the image is opened with the fancybox. The script simply reads all images in the images folder defined and displays them.&lt;/p&gt;

&lt;p&gt;To do this you would:&lt;/p&gt;

&lt;p&gt;On line 26 of index.php...&lt;/p&gt;
&lt;p&gt;Replace: &lt;/p&gt;
&lt;code&gt;&lt;a rel=&quot;group&quot; href=&quot;&#039;.$dir.&#039;/&#039;.$disImage.&#039;&quot; class=&quot;image&quot;&gt;&lt;img src=&quot;&#039;.$dir.&#039;/&#039;.$disImage.&#039;&quot; height=&quot;&#039;.$maxheight.&#039;&quot; width=&quot;&#039;.$maxwidth.&#039;&quot; /&gt;&lt;/a&gt;&lt;/code&gt;

&lt;p&gt;With:&lt;/p&gt;
&lt;code&gt;&lt;a rel=&quot;group&quot; title=&quot;&#039;.$disImage.&#039;&quot; href=&quot;&#039;.$dir.&#039;/&#039;.$disImage.&#039;&quot; class=&quot;image&quot;&gt;&lt;img src=&quot;&#039;.$dir.&#039;/&#039;.$disImage.&#039;&quot; height=&quot;&#039;.$maxheight.&#039;&quot; width=&quot;&#039;.$maxwidth.&#039;&quot; /&gt;&lt;/a&gt;&lt;/code&gt;

&lt;p&gt;Adding the title=”‘.$disImage.’” will add that filename as the caption at the bottom of the fancybox when it is opened.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Off the top of my head about the only thing you could do is to have the filename of the image as a caption (image.jpg) when the image is opened with the fancybox. The script simply reads all images in the images folder defined and displays them.</p>
<p>To do this you would:</p>
<p>On line 26 of index.php&#8230;</p>
<p>Replace: </p>
<p><code>&lt;a rel="group" href="'.$dir.'/'.$disImage.'" class="image"&gt;&lt;img src="'.$dir.'/'.$disImage.'" height="'.$maxheight.'" width="'.$maxwidth.'" /&gt;&lt;/a&gt;</code></p>
<p>With:</p>
<p><code>&lt;a rel="group" title="'.$disImage.'" href="'.$dir.'/'.$disImage.'" class="image"&gt;&lt;img src="'.$dir.'/'.$disImage.'" height="'.$maxheight.'" width="'.$maxwidth.'" /&gt;&lt;/a&gt;</code></p>
<p>Adding the title=”‘.$disImage.’” will add that filename as the caption at the bottom of the fancybox when it is opened.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dingo23</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-185</link>
		<dc:creator>dingo23</dc:creator>
		<pubDate>Thu, 17 Sep 2009 03:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-185</guid>
		<description>Hey, Just one more question. Is it possible to be able to add captions to the images, either in the gallery view or the popup fancybox?</description>
		<content:encoded><![CDATA[<p>Hey, Just one more question. Is it possible to be able to add captions to the images, either in the gallery view or the popup fancybox?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dingo23</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-182</link>
		<dc:creator>dingo23</dc:creator>
		<pubDate>Fri, 04 Sep 2009 06:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-182</guid>
		<description>Awesome, Thanks for the fast reply. Love this script. it&#039;s pretty simple to set up and merge it into an existing design, I&#039;ve been looking for something like this for a long time and it works great with that fix.</description>
		<content:encoded><![CDATA[<p>Awesome, Thanks for the fast reply. Love this script. it&#8217;s pretty simple to set up and merge it into an existing design, I&#8217;ve been looking for something like this for a long time and it works great with that fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Blair</title>
		<link>http://www.srblair.com/2009/04/simple-image-gallery/comment-page-1/#comment-181</link>
		<dc:creator>Stephen Blair</dc:creator>
		<pubDate>Fri, 04 Sep 2009 02:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.srblair.com/?p=209#comment-181</guid>
		<description>Sorry about that, here is the fix...

&lt;strong&gt;on line 15 of the index page change&lt;/strong&gt; &lt;code&gt;$(&quot;a&quot;).fancybox();&lt;/code&gt;
&lt;strong&gt;to&lt;/strong&gt; &lt;code&gt;$(&quot;a.image&quot;).fancybox();&lt;/code&gt;

On line 26 of the index page add class=&quot;image&quot; to the link tag like &lt;code&gt;&lt;a rel=&quot;group&quot; href=&quot;&#039;.$dir.&#039;/&#039;.$disImage.&#039;&quot; class=&quot;image&quot; rel=&quot;nofollow&quot;&gt;&lt;/code&gt;

The code originally told every link to open as a fancybox, this fix will only tell links with the class &quot;image&quot; assigned to them to open in the fancybox. Let me know if you have any issues.</description>
		<content:encoded><![CDATA[<p>Sorry about that, here is the fix&#8230;</p>
<p><strong>on line 15 of the index page change</strong> <code>$("a").fancybox();</code><br />
<strong>to</strong> <code>$("a.image").fancybox();</code></p>
<p>On line 26 of the index page add class=&#8221;image&#8221; to the link tag like <code>&lt;a rel="group" href="'.$dir.'/'.$disImage.'" class="image" rel="nofollow"&gt;</code></p>
<p>The code originally told every link to open as a fancybox, this fix will only tell links with the class &#8220;image&#8221; assigned to them to open in the fancybox. Let me know if you have any issues.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
