<?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: Improving a Flickr Plugin with jQuery</title>
	<atom:link href="http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/</link>
	<description>Doing That Web Standards Thing</description>
	<lastBuildDate>Thu, 11 Mar 2010 20:25:01 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3495</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Wed, 16 Sep 2009 10:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3495</guid>
		<description>Hi Trevor sorry to hassle you but I sent you a personal email about a work quote and some basic help.

Cheers
Rich</description>
		<content:encoded><![CDATA[<p>Hi Trevor sorry to hassle you but I sent you a personal email about a work quote and some basic help.</p>
<p>Cheers<br />
Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3297</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Tue, 04 Aug 2009 18:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3297</guid>
		<description>Just mailed you, re a quote

Rich</description>
		<content:encoded><![CDATA[<p>Just mailed you, re a quote</p>
<p>Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3296</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Tue, 04 Aug 2009 18:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3296</guid>
		<description>Thanks for all the advice, not sure what to do now, bit stuck

Rich</description>
		<content:encoded><![CDATA[<p>Thanks for all the advice, not sure what to do now, bit stuck</p>
<p>Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3295</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Tue, 04 Aug 2009 17:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3295</guid>
		<description>Hi thanks for the email, just sent you another to explain more of what I&#039;m up to here.

If it helps and I can get it to work like I explain then I&#039;m happy to give the code over and any users on this blog can have it

Rich</description>
		<content:encoded><![CDATA[<p>Hi thanks for the email, just sent you another to explain more of what I&#8217;m up to here.</p>
<p>If it helps and I can get it to work like I explain then I&#8217;m happy to give the code over and any users on this blog can have it</p>
<p>Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3293</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Tue, 04 Aug 2009 13:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3293</guid>
		<description>Hi Trevor,

I have just sent you an email, hope you have time to answer as I&#039;m quite stuck re the item.description flickr pull for lightbox.

Richard</description>
		<content:encoded><![CDATA[<p>Hi Trevor,</p>
<p>I have just sent you an email, hope you have time to answer as I&#8217;m quite stuck re the item.description flickr pull for lightbox.</p>
<p>Richard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Hayler</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3224</link>
		<dc:creator>Richard Hayler</dc:creator>
		<pubDate>Sun, 19 Jul 2009 15:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3224</guid>
		<description>@&lt;a href=&quot;#comment-3205&quot; rel=&quot;nofollow&quot;&gt;calvin&lt;/a&gt;-

Hi Calvin:
Yes, will do - I&#039;m actually in the process of updating the script so it is more compatible with PHP 5 so will send it over as soon as it&#039;s done - not long to go now!.

Cheers
Rich</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3205" rel="nofollow">calvin</a>-</p>
<p>Hi Calvin:<br />
Yes, will do &#8211; I&#8217;m actually in the process of updating the script so it is more compatible with PHP 5 so will send it over as soon as it&#8217;s done &#8211; not long to go now!.</p>
<p>Cheers<br />
Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: calvin</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3205</link>
		<dc:creator>calvin</dc:creator>
		<pubDate>Thu, 16 Jul 2009 13:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3205</guid>
		<description>@&lt;a href=&quot;#comment-909&quot; rel=&quot;nofollow&quot;&gt;Richard Hayler&lt;/a&gt;-

Hi Richard:

Yes, could you please share the full html and php code with me? I would like to implemented a full gallery on my site as well.</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-909" rel="nofollow">Richard Hayler</a>-</p>
<p>Hi Richard:</p>
<p>Yes, could you please share the full html and php code with me? I would like to implemented a full gallery on my site as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3121</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Wed, 24 Jun 2009 15:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3121</guid>
		<description>@&lt;a href=&quot;#comment-3120&quot; rel=&quot;nofollow&quot;&gt;richyp147&lt;/a&gt;-
You cannot just paste in HTML code, you should encode the &lt; symbol with &lt;

You will need to concatenate the item.title and item.description strings into one string and add that as the title attribute.</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3120" rel="nofollow">richyp147</a>-<br />
You cannot just paste in HTML code, you should encode the &lt; symbol with &amp;lt;</p>
<p>You will need to concatenate the item.title and item.description strings into one string and add that as the title attribute.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3120</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Wed, 24 Jun 2009 12:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3120</guid>
		<description>@&lt;a href=&quot;#comment-3117&quot; rel=&quot;nofollow&quot;&gt;Trevor &lt;/a&gt;-

Sorry having trouble adding code here with: pre&gt;&lt;code&gt;YOUR CODE HERE&lt;/code&gt;

Meant to say all that is supported is the title attribure in lightbox, my implemented code is:

.wrap(&#039;&lt;a&gt;&#039;)</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3117" rel="nofollow">Trevor </a>-</p>
<p>Sorry having trouble adding code here with: pre&gt;<code>YOUR CODE HERE</code></p>
<p>Meant to say all that is supported is the title attribure in lightbox, my implemented code is:</p>
<p>.wrap(&#8216;<a>&#8216;)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3119</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Wed, 24 Jun 2009 12:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3119</guid>
		<description>@&lt;a href=&quot;#comment-3117&quot; rel=&quot;nofollow&quot;&gt;Trevor &lt;/a&gt;-

Ok I have the title pulled in now, but as far as I can gather there is no tag in lightbox that supports the description all that&#039;s available is:

&lt;code&gt;.wrap(&#039;&lt;a&gt;&#039;)&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3117" rel="nofollow">Trevor </a>-</p>
<p>Ok I have the title pulled in now, but as far as I can gather there is no tag in lightbox that supports the description all that&#8217;s available is:</p>
<p><code>.wrap('<a>')</a></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3118</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Wed, 24 Jun 2009 07:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3118</guid>
		<description>@&lt;a href=&quot;#comment-3117&quot; rel=&quot;nofollow&quot;&gt;Trevor &lt;/a&gt;-

Hi Trevor, Thanks for your help on this, ok so I have tried to add item.title and item.description to the each statement but all it gives me is an error... Help LOL</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3117" rel="nofollow">Trevor </a>-</p>
<p>Hi Trevor, Thanks for your help on this, ok so I have tried to add item.title and item.description to the each statement but all it gives me is an error&#8230; Help LOL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3117</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Tue, 23 Jun 2009 22:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3117</guid>
		<description>@&lt;a href=&quot;#comment-3116&quot; rel=&quot;nofollow&quot;&gt;richyp147&lt;/a&gt;-
Within your each statement, you want to access item.title and item.description. Then, you will want to concatenate those strings and add them as a title attribute to each individual item.</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3116" rel="nofollow">richyp147</a>-<br />
Within your each statement, you want to access item.title and item.description. Then, you will want to concatenate those strings and add them as a title attribute to each individual item.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3116</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Tue, 23 Jun 2009 19:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3116</guid>
		<description>@&lt;a href=&quot;#comment-3114&quot; rel=&quot;nofollow&quot;&gt;Trevor &lt;/a&gt;-

I thought these might work, but I havetried them everywhere and I can&#039;t get it going...

$(&quot;#title&quot;).html(data.title);
  $(&quot;#description&quot;).html(data.description);</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3114" rel="nofollow">Trevor </a>-</p>
<p>I thought these might work, but I havetried them everywhere and I can&#8217;t get it going&#8230;</p>
<p>$(&#8220;#title&#8221;).html(data.title);<br />
  $(&#8220;#description&#8221;).html(data.description);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3115</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Tue, 23 Jun 2009 19:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3115</guid>
		<description>@&lt;a href=&quot;#comment-3114&quot; rel=&quot;nofollow&quot;&gt;Trevor &lt;/a&gt;-

Sorry to be a pain but could you show me how in the code below... I&#039;m still a newbe on this and it took me long enough to figure this out.

&lt;pre&gt;&lt;code&gt;$(document).ready(function() {
$.getJSON(&quot;http://api.flickr.com/services/feeds/photos_public.gne?id=39724364@N04&amp;lang=en-us&amp;format=json&amp;jsoncallback=?&quot;, function(data){
$.each(data.items, function(i,item){
if(i&lt;=11){
$(&quot;&quot;).attr(&quot;src&quot;, item.media.m).appendTo(&quot;#FlickrImages ul&quot;)
.wrap(&#039;&lt;a&gt;&#039;)
.wrap(&quot;&quot;)
}
});
$(&#039;a[@rel*=lightbox]&#039;).lightBox();
});
});&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3114" rel="nofollow">Trevor </a>-</p>
<p>Sorry to be a pain but could you show me how in the code below&#8230; I&#8217;m still a newbe on this and it took me long enough to figure this out.</p>
<pre><code>$(document).ready(function() {
$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=39724364@N04&amp;lang=en-us&amp;format=json&amp;jsoncallback=?", function(data){
$.each(data.items, function(i,item){
if(i&lt;=11){
$(&quot;").attr("src", item.media.m).appendTo("#FlickrImages ul")
.wrap('&lt;a>')
.wrap("")
}
});
$('a[@rel*=lightbox]').lightBox();
});
});</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3114</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Tue, 23 Jun 2009 18:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3114</guid>
		<description>@&lt;a href=&quot;#comment-3113&quot; rel=&quot;nofollow&quot;&gt;richyp147&lt;/a&gt;-
The title attribute of the link is what is pulled into the lightbox caption. 

So if you just include the title and description from the JSON call as the title attribute, you should be good.</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-3113" rel="nofollow">richyp147</a>-<br />
The title attribute of the link is what is pulled into the lightbox caption. </p>
<p>So if you just include the title and description from the JSON call as the title attribute, you should be good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richyp147</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-3113</link>
		<dc:creator>richyp147</dc:creator>
		<pubDate>Tue, 23 Jun 2009 18:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-3113</guid>
		<description>@&lt;a href=&quot;#comment-1139&quot; rel=&quot;nofollow&quot;&gt;Trevor &lt;/a&gt;-
Hi, I have just implemented your excellent tutorial and added lightbox as well, I have it all working BUT was wondering whether it is possible to pull in flickr picture title and description to the lightbox white area?

This is the code I have implemented so far... Hope you can help

&lt;pre&gt;&lt;code&gt;$(document).ready(function() {
$.getJSON(&quot;http://api.flickr.com/services/feeds/photos_public.gne?id=39724364@N04&amp;lang=en-us&amp;format=json&amp;jsoncallback=?&quot;, function(data){
$.each(data.items, function(i,item){
if(i&lt;=11){
$(&quot;&quot;).attr(&quot;src&quot;, item.media.m).appendTo(&quot;#FlickrImages ul&quot;)
.wrap(&#039;&lt;a&gt;&#039;)
.wrap(&quot;&quot;)
}
});
$(&#039;a[@rel*=lightbox]&#039;).lightBox();
});
});&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-1139" rel="nofollow">Trevor </a>-<br />
Hi, I have just implemented your excellent tutorial and added lightbox as well, I have it all working BUT was wondering whether it is possible to pull in flickr picture title and description to the lightbox white area?</p>
<p>This is the code I have implemented so far&#8230; Hope you can help</p>
<pre><code>$(document).ready(function() {
$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=39724364@N04&amp;lang=en-us&amp;format=json&amp;jsoncallback=?", function(data){
$.each(data.items, function(i,item){
if(i&lt;=11){
$(&quot;").attr("src", item.media.m).appendTo("#FlickrImages ul")
.wrap('&lt;a>')
.wrap("")
}
});
$('a[@rel*=lightbox]').lightBox();
});
});</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fixing a Twitter WordPress Plugin with jQuery &#124; Moojaxee</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-2343</link>
		<dc:creator>Fixing a Twitter WordPress Plugin with jQuery &#124; Moojaxee</dc:creator>
		<pubDate>Thu, 12 Feb 2009 14:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-2343</guid>
		<description>[...] That&#8217;s it. This is just another example of how I have used jQuery to improve a WordPress plugin on my site. [...]</description>
		<content:encoded><![CDATA[<p>[...] That&rsquo;s it. This is just another example of how I have used jQuery to improve a WordPress plugin on my site. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1530</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Tue, 02 Sep 2008 18:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1530</guid>
		<description>@Henry-
Basically you just want to append an empty div to the body, and give it an opacity:

&lt;pre&gt;&lt;code&gt;$(&#039;body&#039;).append(&#039;&lt;div id=&quot;overlay&quot;&gt;&lt;/div&gt;&#039;)
$(&#039;#overlay&#039;).css(&#039;opacity&#039;,&#039;0.5&#039;);&lt;/code&gt;&lt;/pre&gt;

Then you will have to add in some CSS to make sure it fills the entire window, has a background color, and is positioned appropriately.</description>
		<content:encoded><![CDATA[<p>@Henry-<br />
Basically you just want to append an empty div to the body, and give it an opacity:</p>
<pre><code>$('body').append('&lt;div id="overlay">&lt;/div>')
$('#overlay').css('opacity','0.5');</code></pre>
<p>Then you will have to add in some CSS to make sure it fills the entire window, has a background color, and is positioned appropriately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1528</link>
		<dc:creator>Henry</dc:creator>
		<pubDate>Tue, 02 Sep 2008 17:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1528</guid>
		<description>Great work on this.

Where did you go to &quot;I modified it a little to use table-less markup and for the entire page to grey out.&quot;

I like the Facebox script buy I need to grey out the page as well.</description>
		<content:encoded><![CDATA[<p>Great work on this.</p>
<p>Where did you go to &#8220;I modified it a little to use table-less markup and for the entire page to grey out.&#8221;</p>
<p>I like the Facebox script buy I need to grey out the page as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blu</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1140</link>
		<dc:creator>blu</dc:creator>
		<pubDate>Thu, 07 Aug 2008 04:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1140</guid>
		<description>Thank you so much! I&#039;ll give it a try and let you know how it works

Quote
&quot;Of course, instead of using JavaScript to pull in your flickr feed, you can just use this WordPress plugin.&quot;

Where&#039;s the fun in that right???


Blu</description>
		<content:encoded><![CDATA[<p>Thank you so much! I&#8217;ll give it a try and let you know how it works</p>
<p>Quote<br />
&#8220;Of course, instead of using JavaScript to pull in your flickr feed, you can just use this WordPress plugin.&#8221;</p>
<p>Where&#8217;s the fun in that right???</p>
<p>Blu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1139</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Thu, 07 Aug 2008 04:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1139</guid>
		<description>@blu-
Ok, I would say the easiest thing to do would be to wrap the image with the link. So this: 
&lt;pre&gt;&lt;code&gt;&lt;strong&gt;wrap(&quot;&lt;div class=&#039;flickr-thumb&#039; /&gt;&quot;)&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;
 would be replaced with this 
&lt;pre&gt;&lt;code&gt;&lt;strong&gt;wrap(&#039;&lt;a href=&quot;&#039;+item.link+&#039;&quot; rel=&quot;lightbox&quot;/&gt;&#039;).wrap(&quot;&lt;div class=&#039;flickr-thumb&#039; /&gt;&quot;)&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;

That way, you will be ready to add in my code. Of course you will need to change the selector to be what you have. Make sure to add in my JavaScript after the JavaScript that you have pulling in the flickr feed. Of course, instead of using JavaScript to pull in your flickr feed, you can just use &lt;a href=&quot;http://eightface.com/wordpress/flickrrss/&quot; rel=&quot;nofollow&quot;&gt;this WordPress plugin&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@blu-<br />
Ok, I would say the easiest thing to do would be to wrap the image with the link. So this: </p>
<pre><code><strong>wrap("&lt;div class='flickr-thumb' /&gt;")</strong></code></pre>
<p> would be replaced with this </p>
<pre><code><strong>wrap('&lt;a href="'+item.link+'" rel="lightbox"/>').wrap("&lt;div class='flickr-thumb' /&gt;")</strong></code></pre>
<p>That way, you will be ready to add in my code. Of course you will need to change the selector to be what you have. Make sure to add in my JavaScript after the JavaScript that you have pulling in the flickr feed. Of course, instead of using JavaScript to pull in your flickr feed, you can just use <a href="http://eightface.com/wordpress/flickrrss/" rel="nofollow">this WordPress plugin</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blu</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1138</link>
		<dc:creator>blu</dc:creator>
		<pubDate>Thu, 07 Aug 2008 03:23:01 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1138</guid>
		<description>Yeah! basically I got the flickr feed working, but  instead of just linking to my flickr page I&#039;m looking for a way to show the medium pics in a lightbox effect. it&#039;s working now on the bottom left sidebar of &lt;a href=&quot;http://www.moroccoblu.com&quot; rel=&quot;nofollow&quot;&gt;THIS PAGE&lt;/a&gt; I took the linking off for now.  I know it can work but like i said i&#039;m just getting the hang of it. 
Code for the flickr feed is :



&lt;pre&gt;&lt;code&gt;$(function(){
	$.getJSON(&quot;http://api.flickr.com/services/feeds/photos_public.gne?ids=1384346@N02&amp;lang=en-us&amp;format=json&amp;jsoncallback=?&quot;, function(data){
		$.each(data.items, function(index, item){
			$(&quot;&lt;img/&gt;&quot;).attr(&quot;src&quot;, item.media.m).addClass(&quot;thumb&quot;).appendTo(&quot;.flickr .inside&quot;).wrap(&quot;&lt;div class=&#039;flickr-thumb&#039; /&gt;&quot;); 
			if ( index == 7 ) return false; 
		});			  					
	});		
});&lt;/code&gt;&lt;/pre&gt;
	
	</description>
		<content:encoded><![CDATA[<p>Yeah! basically I got the flickr feed working, but  instead of just linking to my flickr page I&#8217;m looking for a way to show the medium pics in a lightbox effect. it&#8217;s working now on the bottom left sidebar of <a href="http://www.moroccoblu.com" rel="nofollow">THIS PAGE</a> I took the linking off for now.  I know it can work but like i said i&#8217;m just getting the hang of it.<br />
Code for the flickr feed is :</p>
<pre><code>$(function(){
	$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?ids=1384346@N02&amp;lang=en-us&amp;format=json&amp;jsoncallback=?", function(data){
		$.each(data.items, function(index, item){
			$("&lt;img/>").attr("src", item.media.m).addClass("thumb").appendTo(".flickr .inside").wrap("&lt;div class='flickr-thumb' />");
			if ( index == 7 ) return false;
		});
	});
});</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1135</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Thu, 07 Aug 2008 02:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1135</guid>
		<description>@blu-
So you are trying to combine the two methods? Do you have a URL you can show so that we can see what you&#8217;ve got?</description>
		<content:encoded><![CDATA[<p>@blu-<br />
So you are trying to combine the two methods? Do you have a URL you can show so that we can see what you&rsquo;ve got?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blu</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1132</link>
		<dc:creator>blu</dc:creator>
		<pubDate>Thu, 07 Aug 2008 01:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1132</guid>
		<description>This is just what I&#039;m looking for, only I&#039;m only getting started with jQery, so bare with me guys.  I can&#039;t seem to add this supernice function to my flickr feed ( I&#039;m using  &lt;a href=&quot;http://www.viget.com/inspire/pulling-your-flickr-feed-with-jquery/&quot; rel=&quot;nofollow&quot;&gt;This great way &lt;/a&gt; to pull your feed from flickr but can&#039;t seem to figure out where to include this code to make it work. any ideas would be greatly appreciated!!

Blu</description>
		<content:encoded><![CDATA[<p>This is just what I&#8217;m looking for, only I&#8217;m only getting started with jQery, so bare with me guys.  I can&#8217;t seem to add this supernice function to my flickr feed ( I&#8217;m using  <a href="http://www.viget.com/inspire/pulling-your-flickr-feed-with-jquery/" rel="nofollow">This great way </a> to pull your feed from flickr but can&#8217;t seem to figure out where to include this code to make it work. any ideas would be greatly appreciated!!</p>
<p>Blu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taylan</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-916</link>
		<dc:creator>taylan</dc:creator>
		<pubDate>Sat, 07 Jun 2008 20:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-916</guid>
		<description>Nice plugin. Thank you.</description>
		<content:encoded><![CDATA[<p>Nice plugin. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skylog &#187; Blog Archive &#187; links for 2008-06-07</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-915</link>
		<dc:creator>Skylog &#187; Blog Archive &#187; links for 2008-06-07</dc:creator>
		<pubDate>Sat, 07 Jun 2008 06:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-915</guid>
		<description>[...] Improving a Flickr Plugin with jQuery (tags: jquery) [...]</description>
		<content:encoded><![CDATA[<p>[...] Improving a Flickr Plugin with jQuery (tags: jquery) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-912</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 06 Jun 2008 13:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-912</guid>
		<description>@Patrick-
Nice, glad is was helpful.

@Pat-
Yeah I need to do a little tweaking on the lightbox script. This is the line I need to fix: 

&lt;pre&gt;&lt;code&gt;$(&#039;#overlay&#039;).css(&#039;height&#039;,arrayPageSize[1]+10);&lt;/code&gt;&lt;/pre&gt;

It only needs to add the extra 10 pixels in IE 6 I believe. What browser were you using?</description>
		<content:encoded><![CDATA[<p>@Patrick-<br />
Nice, glad is was helpful.</p>
<p>@Pat-<br />
Yeah I need to do a little tweaking on the lightbox script. This is the line I need to fix: </p>
<pre><code>$('#overlay').css('height',arrayPageSize[1]+10);</code></pre>
<p>It only needs to add the extra 10 pixels in IE 6 I believe. What browser were you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-911</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Fri, 06 Jun 2008 13:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-911</guid>
		<description>Hey, 

I&#039;ve been looking for something like this for a long time now! Thanks so much. 

There is one thing I noticed when I opened one of the photos into the lightbox box. For some reason, even though the picture doesn&#039;t go anywhere near the bottom of my window, there is something that is causing a vertical scroll-bar to appear. Don&#039;t know if there&#039;s a &quot;height:&quot; issue somewhere?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hey, </p>
<p>I&#8217;ve been looking for something like this for a long time now! Thanks so much. </p>
<p>There is one thing I noticed when I opened one of the photos into the lightbox box. For some reason, even though the picture doesn&#8217;t go anywhere near the bottom of my window, there is something that is causing a vertical scroll-bar to appear. Don&#8217;t know if there&#8217;s a &#8220;height:&#8221; issue somewhere?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-910</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 06 Jun 2008 11:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-910</guid>
		<description>Thank you very much for this insightful little tutorial. This technique could come handy sometime.

Greetings</description>
		<content:encoded><![CDATA[<p>Thank you very much for this insightful little tutorial. This technique could come handy sometime.</p>
<p>Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Hayler</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-909</link>
		<dc:creator>Richard Hayler</dc:creator>
		<pubDate>Fri, 06 Jun 2008 08:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-909</guid>
		<description>I love using Flickr myself but wanted to display the photos in a gallery on my own site. If anyone is interested I would be happy to make this script available and maybe someone could make a plugin for WP. You can checkout the full functionality on my website at http://www.hayler.com/photos/

The script uses the Flickr API, some PHP code and lightbox. Currently I have this running on PHP4.</description>
		<content:encoded><![CDATA[<p>I love using Flickr myself but wanted to display the photos in a gallery on my own site. If anyone is interested I would be happy to make this script available and maybe someone could make a plugin for WP. You can checkout the full functionality on my website at <a href="http://www.hayler.com/photos/" rel="nofollow">http://www.hayler.com/photos/</a></p>
<p>The script uses the Flickr API, some PHP code and lightbox. Currently I have this running on PHP4.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
