<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Freshly Brewed Web Design &#187; NextGen Gallery</title>
	<atom:link href="http://freshlybrewedwebdesign.com/category/nextgen-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://freshlybrewedwebdesign.com</link>
	<description>Where every site is good to the last dot.</description>
	<lastBuildDate>Thu, 18 Mar 2010 00:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NextGEN ImageFlow Portfolio</title>
		<link>http://freshlybrewedwebdesign.com/2009/01/20/nextgen-imageflow/</link>
		<comments>http://freshlybrewedwebdesign.com/2009/01/20/nextgen-imageflow/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 00:32:26 +0000</pubDate>
		<dc:creator>llamabot</dc:creator>
				<category><![CDATA[NextGen Gallery]]></category>

		<guid isPermaLink="false">http://www.fbwebd.com//?p=1</guid>
		<description><![CDATA[I recently discovered an ImageFlow plugin that has been setup to work with the NextGEN Gallery plugin. This plugin uses Java Script to create an effect similar to Apple&#8217;s coverflow. I wanted to use this plugin to show a portfolio of some of the websites I have built. I took a screenshot of all the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently discovered an <a title="ImageFlow Plugin" href="http://travel-junkie.com/geeky-stuff/wp-plugin-nextgen-imageflow/">ImageFlow plugin</a> that has been setup to work with the <a title="NextGen Gallery" href="http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/">NextGEN Gallery plugin</a>. This plugin uses Java Script to create an effect similar to Apple&#8217;s coverflow. I wanted to use this plugin to show a <a href="http://freshlybrewedwebdesign.com/about-fbwebd/try-a-sample/">portfolio</a> of some of the websites I have built. I took a screenshot of all the pages I wanted to use, made a gallery in NextGEN, setup the ImageFlow plugin and put the gallery in my post.</p>
<p>It was pretty straightforward up until this point, but I had a few problems.</p>
<p>1. In the description text I wanted to display a link to the website the screenshot was taken from.</p>
<p>2. When I clicked on the image in the ImageFlow it displayed the image in the browser instead of going to the website the image represented.</p>
<p>The first problem was easily overcome. The ImageFlow plugin uses the &#8220;Alt &amp; Title Text / Description&#8221; text associated with the image in the NextGEN gallery you have created. For each picture I added a brief title along with a hyperlink to the page. So:</p>
<p>Personal Blog &lt;a href=http://theyomen.com target=&#8221;_blank&#8221;&gt;http://theyomen.com&lt;/a&gt;</p>
<p>You will notice that for the href tag I left the quotation marks out. This enabled the ImageFlow plugin to display the hyperlink properly. Unfortunately, this had an unintended consequence. Since this text in this box is used for the title tag whenever I moused over an image on the ImageFlow it would reveal all code. Ugly. To correct this I went to the plugins directory and found nextgen-imageflow/lib/functions.php. On line 102 you&#8217;ll find:</p>
<p>alt=&#8221;&#8216;.apply_filters(&#8217;the_title&#8217;, $picture-&gt;description).&#8217;&#8221; title=&#8221;&#8216;.apply_filters(&#8217;the_title&#8217;, $picture-&gt;description).&#8217;&#8221;</p>
<p>I changed this line to:</p>
<p>alt=&#8221;&#8216;.apply_filters(&#8217;the_title&#8217;, $picture-&gt;description).&#8217;&#8221; title=&#8221;"</p>
<p>This eliminated the mouse over problem.</p>
<p>The second problem was also easily overcome. I simply eliminated the link information in the onClick statement in the java script file. The file is found at nextgen-imageflow/imageflow/imageflow.js and line 61 can be changed from:</p>
<p>function() { document.location = this.url; }   /* Onclick behaviour */</p>
<p>to:</p>
<p>onClick:            function() {}   /* Onclick behaviour */</p>
<p>This change stopped anything from happening when an image is clicked. The result is a nice coverflow method for viewing a website <a href="http://freshlybrewedwebdesign.com/about-fbwebd/try-a-sample/">portfolio</a>.</p>
<p>This was done using NextGEN Gallery 1.02 and NextGEN ImageFlow 1.1</p>
]]></content:encoded>
			<wfw:commentRss>http://freshlybrewedwebdesign.com/2009/01/20/nextgen-imageflow/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
