<?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: Building a paged image gallery with jQuery</title>
	<atom:link href="http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/</link>
	<description></description>
	<pubDate>Fri, 30 Jul 2010 18:33:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kris</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-351</link>
		<dc:creator>kris</dc:creator>
		<pubDate>Thu, 22 Apr 2010 08:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-351</guid>
		<description>hi there,
currently i'm having problem adding link to each image, for example image 1 appear with title and i want to add link "visit site" putting &lt;a href rel="nofollow"&gt; is not working, any help would be appreciate
thanks</description>
		<content:encoded><![CDATA[<p>hi there,<br />
currently i&#8217;m having problem adding link to each image, for example image 1 appear with title and i want to add link &#8220;visit site&#8221; putting <a href rel="nofollow"> is not working, any help would be appreciate<br />
thanks</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kzcaztta</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-347</link>
		<dc:creator>kzcaztta</dc:creator>
		<pubDate>Thu, 28 Jan 2010 17:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-347</guid>
		<description>ZSRJjQ  &lt;a href="http://voiqgiekbdtx.com/" rel="nofollow"&gt;voiqgiekbdtx&lt;/a&gt;, [url=http://xyhfqomdttfz.com/]xyhfqomdttfz[/url], [link=http://gpuggmqjeuqu.com/]gpuggmqjeuqu[/link], http://aqlnksytqbck.com/</description>
		<content:encoded><![CDATA[<p>ZSRJjQ  <a href="http://voiqgiekbdtx.com/" rel="nofollow">voiqgiekbdtx</a>, [url=http://xyhfqomdttfz.com/]xyhfqomdttfz[/url], [link=http://gpuggmqjeuqu.com/]gpuggmqjeuqu[/link], <a href="http://aqlnksytqbck.com/" rel="nofollow">http://aqlnksytqbck.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: usonlha</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-346</link>
		<dc:creator>usonlha</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-346</guid>
		<description>aszhai  &lt;a href="http://evqgybnslake.com/" rel="nofollow"&gt;evqgybnslake&lt;/a&gt;, [url=http://exrylofrclou.com/]exrylofrclou[/url], [link=http://cdartwecullq.com/]cdartwecullq[/link], http://yqgtducetavp.com/</description>
		<content:encoded><![CDATA[<p>aszhai  <a href="http://evqgybnslake.com/" rel="nofollow">evqgybnslake</a>, [url=http://exrylofrclou.com/]exrylofrclou[/url], [link=http://cdartwecullq.com/]cdartwecullq[/link], <a href="http://yqgtducetavp.com/" rel="nofollow">http://yqgtducetavp.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-342</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 25 Nov 2009 14:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-342</guid>
		<description>How do you get this script to open the first image in the large container by default on page load?</description>
		<content:encoded><![CDATA[<p>How do you get this script to open the first image in the large container by default on page load?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sona</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-341</link>
		<dc:creator>sona</dc:creator>
		<pubDate>Sun, 25 Oct 2009 01:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-341</guid>
		<description>khanker pola vhal lekhso</description>
		<content:encoded><![CDATA[<p>khanker pola vhal lekhso</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geogrikbq</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-339</link>
		<dc:creator>Geogrikbq</dc:creator>
		<pubDate>Wed, 09 Sep 2009 15:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-339</guid>
		<description>comment7, &lt;a href="http://www.viddler.com/explore/valtrexeh7" rel="nofollow"&gt;valtrex rx&lt;/a&gt;, :'-D, &lt;a href="http://www.viddler.com/explore/hoodiawqa" rel="nofollow"&gt;hoodia for weight loss&lt;/a&gt;, :-0, &lt;a href="http://www.viddler.com/explore/cialisaw4" rel="nofollow"&gt;cialis best price&lt;/a&gt;, grooms, &lt;a href="http://www.viddler.com/explore/valtrexeh7" rel="nofollow"&gt;valtrex commercial&lt;/a&gt;, =-O, &lt;a href="http://www.viddler.com/explore/levitra2oa" rel="nofollow"&gt;low cost levitra&lt;/a&gt;, irritated, &lt;a href="http://www.viddler.com/explore/zoviraxlu9" rel="nofollow"&gt;zovirax online&lt;/a&gt;, :-/, &lt;a href="http://www.viddler.com/explore/phentermine4eo" rel="nofollow"&gt;phentermine no doctor&lt;/a&gt;, 3118, &lt;a href="http://members.ebay.com/ws/eBayISAPI.dll?ViewUserPage&amp;userid=buy-nexium-online" rel="nofollow"&gt;buy nexium&lt;/a&gt;, fame, &lt;a href="http://www.viddler.com/explore/xanaxeyy" rel="nofollow"&gt;order xanax online without prescription&lt;/a&gt;, 9183, &lt;a href="http://www.viddler.com/explore/cialisaw4" rel="nofollow"&gt;cheap cialis canada&lt;/a&gt;, darling</description>
		<content:encoded><![CDATA[<p>comment7, <a href="http://www.viddler.com/explore/valtrexeh7" rel="nofollow">valtrex rx</a>, :&#8217;-D, <a href="http://www.viddler.com/explore/hoodiawqa" rel="nofollow">hoodia for weight loss</a>, :-0, <a href="http://www.viddler.com/explore/cialisaw4" rel="nofollow">cialis best price</a>, grooms, <a href="http://www.viddler.com/explore/valtrexeh7" rel="nofollow">valtrex commercial</a>, =-O, <a href="http://www.viddler.com/explore/levitra2oa" rel="nofollow">low cost levitra</a>, irritated, <a href="http://www.viddler.com/explore/zoviraxlu9" rel="nofollow">zovirax online</a>, :-/, <a href="http://www.viddler.com/explore/phentermine4eo" rel="nofollow">phentermine no doctor</a>, 3118, <a href="http://members.ebay.com/ws/eBayISAPI.dll?ViewUserPage&amp;userid=buy-nexium-online" rel="nofollow">buy nexium</a>, fame, <a href="http://www.viddler.com/explore/xanaxeyy" rel="nofollow">order xanax online without prescription</a>, 9183, <a href="http://www.viddler.com/explore/cialisaw4" rel="nofollow">cheap cialis canada</a>, darling</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raibaz</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-216</link>
		<dc:creator>Raibaz</dc:creator>
		<pubDate>Fri, 10 Apr 2009 14:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-216</guid>
		<description>I see, so probably the content of your newcontent += '' was filtered out too...then i have no idea :(

Have you tried looking into the generated html with Firebug if the images appear correctly in your array and the  is correctly populated?

Besides, i'm noticing now that your  has class="gallery" and you're calling .galleria() on "ul.gallery_demo", which could be the reason why you don't see the images...</description>
		<content:encoded><![CDATA[<p>I see, so probably the content of your newcontent += &#8221; was filtered out too&#8230;then i have no idea <img src='http://devfunk.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Have you tried looking into the generated html with Firebug if the images appear correctly in your array and the  is correctly populated?</p>
<p>Besides, i&#8217;m noticing now that your  has class=&#8221;gallery&#8221; and you&#8217;re calling .galleria() on &#8220;ul.gallery_demo&#8221;, which could be the reason why you don&#8217;t see the images&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wayne</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-215</link>
		<dc:creator>wayne</dc:creator>
		<pubDate>Fri, 10 Apr 2009 14:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-215</guid>
		<description>var images = [
	?
require_once 'dbcon.php';
require_once 'fetch_img.php';
$pic = get_pictures();
foreach ($pic as $ima) {
?
              [' echo $ima['image'] ', ' echo $ima['name'] '],
			   } 
         
			];


Really sorry for the double posts. Some characters had been filtered  out</description>
		<content:encoded><![CDATA[<p>var images = [<br />
	?<br />
require_once 'dbcon.php';<br />
require_once 'fetch_img.php';<br />
$pic = get_pictures();<br />
foreach ($pic as $ima) {<br />
?<br />
              [' echo $ima['image'] &#8216;, &#8216; echo $ima['name'] &#8216;],<br />
			   } </p>
<p>			];</p>
<p>Really sorry for the double posts. Some characters had been filtered  out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wayne</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-214</link>
		<dc:creator>wayne</dc:creator>
		<pubDate>Fri, 10 Apr 2009 14:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-214</guid>
		<description>&lt;blockquote cite="#commentbody-212"&gt;
&lt;strong&gt;&lt;a href="#comment-212" rel="nofollow"&gt; Raibaz&lt;/a&gt; :&lt;/strong&gt;
          Just looking at the code, your problem seems to be in the pageSelectCallback, as you’re adding nothing to the newContent variable and thus not putting anything in the imagelist after switching pages (which actually occurs also on the first display)
         &lt;/blockquote&gt;

Oops sorry, i forgot to add this one on top of the function.

var images = [
	
              ['', ''],
			  
         
			];

But it still doesn't work...</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-212"><p>
<strong><a href="#comment-212" rel="nofollow"> Raibaz</a> :</strong><br />
          Just looking at the code, your problem seems to be in the pageSelectCallback, as you’re adding nothing to the newContent variable and thus not putting anything in the imagelist after switching pages (which actually occurs also on the first display)
         </p></blockquote>
<p>Oops sorry, i forgot to add this one on top of the function.</p>
<p>var images = [</p>
<p>              ['', ''],</p>
<p>			];</p>
<p>But it still doesn&#8217;t work&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wayne</title>
		<link>http://devfunk.com/2009/03/13/building-a-paged-image-gallery-with-jquery/comment-page-1/#comment-213</link>
		<dc:creator>wayne</dc:creator>
		<pubDate>Fri, 10 Apr 2009 14:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://devfunk.com/?p=51#comment-213</guid>
		<description>link href="galleria.css" rel="stylesheet" type="text/css" media="screen"
	link href="pagination/pagination.css" rel="stylesheet" type="text/css" media="screen"
	script type="text/javascript" src="jquery.min.js"
/script
	script type="text/javascript" src="jquery.galleria.js" /script
	script type="text/javascript" src="pagination/jquery.pagination.js"/script
	  
	script type="text/javascript"
	
   
   function pageselectCallback(page_index, jq){
	var items_per_page = 2;
	var max_elem = Math.min((page_index+1) * items_per_page, images.length);
	var newcontent = '';
	for(var i=page_index*items_per_page;i&lt;max_elem;i++)
	{
		newcontent += '';		
	}	
	$('#imagelist').html(newcontent);
	$('#mainimage').html('');		
	$('ul.gallery_demo').galleria(); 
	return false;
}

	$(document).ready(function(){
		
		$('.nav').css('display','none'); // hides the nav initially
		
		$('ul.gallery_demo').galleria({
			history   : false, // deactivates the history object for bookmarking, back-button etc.
			clickNext : true, // helper for making the image clickable. Let's not have that in this example.
			insert    : '#main_image', // the containing selector for our main image. 
								   // If not found or undefined (like here), galleria will create a container 
								   // before the ul with the class .galleria_container (see CSS)
			onImage   : function(image,caption,thumb) { 
			$('.nav').css('display','block');
			image.attr('title','Next image &gt;&gt;');
			

			 },
			 
			onThumb : function(thumb) {
			thumb.css({display:'none',opacity:_fadeTo}).fadeIn(1500); }
           $("#Pagination").pagination(images.length, opt);
			 
		});
	});
	
	/script
	style media="screen,projection" type="text/css"
	
	/* BEGIN DEMO STYLE */
	*{margin:0;padding:0}
	body{padding:20px;background:white;background:white;color:#555;font:80%/140% 'helvetica neue',sans-serif;width:900px;margin: 0 auto;}
	h1,h2{font:bold 80% 'helvetica neue',sans-serif;letter-spacing:3px;text-transform:uppercase;}
	a{color:#348;text-decoration:none;outline:none;}
	a:hover{color:#67a;}
	/*.caption{color:#888;position:absolute;top:0px;left:500px;width:200px;}*/
	.demo{position:relative;margin-top:2em;}
	.gallery_demo{width:200px;float:left;}
	.gallery_demo li{width:55px;height:70px;border:3px double #eee;margin: 0 2px 2px 0;background:#eee;}
	.gallery_demo li.hover{border-color:#bbb;}
	.gallery_demo li.active{border-style:solid;border-color:#222;}
	.gallery_demo li div{left:240px}
	.gallery_demo li div .caption{font:italic 0.7em/1.4 georgia,serif;}
	
	.galleria_container{margin:0 auto 60px auto;height:438px;width:700px;float:right;}
	
	.nav{padding-top:15px;clear:both;}
	
	.info{text-align:left;margin:30px 0;border-top:1px dotted #221;padding-top:30px;clear:both;}
	.info p{margin-top:1.6em;}
	
	.nav{position:absolute;top:410px;left:0;}
	
    /style
	
/head
body


div id="Pagination" class="pagination"&gt;/div
div id="imagegallery" class="demo"
	ul id="imagelist" class="gallery"/
/div

span id="mainimage" class="galleria_container"
/span


/body
/html</description>
		<content:encoded><![CDATA[<p>link href=&#8221;galleria.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221;<br />
	link href=&#8221;pagination/pagination.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221;<br />
	script type=&#8221;text/javascript&#8221; src=&#8221;jquery.min.js&#8221;<br />
/script<br />
	script type=&#8221;text/javascript&#8221; src=&#8221;jquery.galleria.js&#8221; /script<br />
	script type=&#8221;text/javascript&#8221; src=&#8221;pagination/jquery.pagination.js&#8221;/script</p>
<p>	script type=&#8221;text/javascript&#8221;</p>
<p>   function pageselectCallback(page_index, jq){<br />
	var items_per_page = 2;<br />
	var max_elem = Math.min((page_index+1) * items_per_page, images.length);<br />
	var newcontent = &#8221;;<br />
	for(var i=page_index*items_per_page;i&lt;max_elem;i++)<br />
	{<br />
		newcontent += &#8221;;<br />
	}<br />
	$(&#8217;#imagelist&#8217;).html(newcontent);<br />
	$(&#8217;#mainimage&#8217;).html(&#8221;);<br />
	$(&#8217;ul.gallery_demo&#8217;).galleria();<br />
	return false;<br />
}</p>
<p>	$(document).ready(function(){</p>
<p>		$(&#8217;.nav&#8217;).css(&#8217;display&#8217;,'none&#8217;); // hides the nav initially</p>
<p>		$(&#8217;ul.gallery_demo&#8217;).galleria({<br />
			history   : false, // deactivates the history object for bookmarking, back-button etc.<br />
			clickNext : true, // helper for making the image clickable. Let&#8217;s not have that in this example.<br />
			insert    : &#8216;#main_image&#8217;, // the containing selector for our main image.<br />
								   // If not found or undefined (like here), galleria will create a container<br />
								   // before the ul with the class .galleria_container (see CSS)<br />
			onImage   : function(image,caption,thumb) {<br />
			$(&#8217;.nav&#8217;).css(&#8217;display&#8217;,'block&#8217;);<br />
			image.attr(&#8217;title&#8217;,'Next image &gt;&gt;&#8217;);</p>
<p>			 },</p>
<p>			onThumb : function(thumb) {<br />
			thumb.css({display:&#8217;none&#8217;,opacity:_fadeTo}).fadeIn(1500); }<br />
           $(&#8221;#Pagination&#8221;).pagination(images.length, opt);</p>
<p>		});<br />
	});</p>
<p>	/script<br />
	style media=&#8221;screen,projection&#8221; type=&#8221;text/css&#8221;</p>
<p>	/* BEGIN DEMO STYLE */<br />
	*{margin:0;padding:0}<br />
	body{padding:20px;background:white;background:white;color:#555;font:80%/140% &#8216;helvetica neue&#8217;,sans-serif;width:900px;margin: 0 auto;}<br />
	h1,h2{font:bold 80% &#8216;helvetica neue&#8217;,sans-serif;letter-spacing:3px;text-transform:uppercase;}<br />
	a{color:#348;text-decoration:none;outline:none;}<br />
	a:hover{color:#67a;}<br />
	/*.caption{color:#888;position:absolute;top:0px;left:500px;width:200px;}*/<br />
	.demo{position:relative;margin-top:2em;}<br />
	.gallery_demo{width:200px;float:left;}<br />
	.gallery_demo li{width:55px;height:70px;border:3px double #eee;margin: 0 2px 2px 0;background:#eee;}<br />
	.gallery_demo li.hover{border-color:#bbb;}<br />
	.gallery_demo li.active{border-style:solid;border-color:#222;}<br />
	.gallery_demo li div{left:240px}<br />
	.gallery_demo li div .caption{font:italic 0.7em/1.4 georgia,serif;}</p>
<p>	.galleria_container{margin:0 auto 60px auto;height:438px;width:700px;float:right;}</p>
<p>	.nav{padding-top:15px;clear:both;}</p>
<p>	.info{text-align:left;margin:30px 0;border-top:1px dotted #221;padding-top:30px;clear:both;}<br />
	.info p{margin-top:1.6em;}</p>
<p>	.nav{position:absolute;top:410px;left:0;}</p>
<p>    /style</p>
<p>/head<br />
body</p>
<p>div id=&#8221;Pagination&#8221; class=&#8221;pagination&#8221;&gt;/div<br />
div id=&#8221;imagegallery&#8221; class=&#8221;demo&#8221;<br />
	ul id=&#8221;imagelist&#8221; class=&#8221;gallery&#8221;/<br />
/div</p>
<p>span id=&#8221;mainimage&#8221; class=&#8221;galleria_container&#8221;<br />
/span</p>
<p>/body<br />
/html</p>
]]></content:encoded>
	</item>
</channel>
</rss>
