<?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>Narasopa Media &#187; Image Description</title>
	<atom:link href="http://narasopa.com/seoblog/tag/image-description/feed/" rel="self" type="application/rss+xml" />
	<link>http://narasopa.com/seoblog</link>
	<description>advanced business solutions</description>
	<lastBuildDate>Thu, 15 Apr 2010 18:13:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Moving Description in NextGen Gallery</title>
		<link>http://narasopa.com/seoblog/2010/02/moving-description-in-nextgen-gallery/</link>
		<comments>http://narasopa.com/seoblog/2010/02/moving-description-in-nextgen-gallery/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:10:44 +0000</pubDate>
		<dc:creator>Justin Handley</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[Amp]]></category>
		<category><![CDATA[Content Themes]]></category>
		<category><![CDATA[Desc]]></category>
		<category><![CDATA[Description Document]]></category>
		<category><![CDATA[Div Tags]]></category>
		<category><![CDATA[Document Getelementbyid]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Gal]]></category>
		<category><![CDATA[Gallery Thumbnails]]></category>
		<category><![CDATA[Image Browser]]></category>
		<category><![CDATA[Image Description]]></category>
		<category><![CDATA[Innerhtml]]></category>
		<category><![CDATA[Moving]]></category>
		<category><![CDATA[Php Image]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Programming Team]]></category>
		<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Top Of My Head]]></category>

		<guid isPermaLink="false">http://narasopa.com/seoblog/?p=43</guid>
		<description><![CDATA[So, this is in response to Freaq&#8217;s question on the post Adding Title and Description to Nextgen Gallery Thumbnails. He had a site and he wanted to display the image description in the sidebar, not in the main embedded gallery. To his credit, I couldn&#8217;t figure it out off the top of my head, so [...]]]></description>
			<content:encoded><![CDATA[<p>So, this is in response to Freaq&#8217;s question on the post <a href="http://narasopa.com/seoblog/2009/02/adding-title-and-description-to-nextgen-gallery-thumbnails/">Adding Title and Description to Nextgen Gallery Thumbnails</a>.  He had a site and he wanted to display the image description in the sidebar, not in the main embedded gallery.</p>
<p>To his <a href="http://alltheinfo.iinformyou.com" target="_blank">credit</a>, I couldn&#8217;t figure it out off the top of my head, so he hired my programming team to look into it, and he is kind enough to have given us permission to post the solution we came up with publicly so that if any of you need it it&#8217;s here&#8230;</p>
<p><strong>Left sidebar page</strong><br />
wp-content\themes\THEME\l_sidebar.php</p>
<p>In left sidebar page we have changed div id from “desc” to “gallery_desc”.</p>
<p><strong>Image Browser page</strong><br />
wp-content\plugins\nextgen-gallery\view\imagebrowser.php </p>
<p>In image browser page we added below mentioned code. </p>
<p><code>&lt;div id="gal_title" style="display:none;"&gt;&lt;b&gt;&lt;?php echo ucfirst($image-&gt;alttext) ?&gt;&lt;/b&gt;&lt;/div&gt;<br />
&lt;div id="gal_desc" style="display:none;"&gt;&lt;p&gt;&lt;?php echo ucfirst($image-&gt;description) ?&gt;&lt;/p&gt;&lt;/div&gt;<br />
&lt;script language="javascript" type="text/javascript"&gt;	document.getElementById('gallery_desc').innerHTML = document.getElementById('gal_title').innerHTML+document.getElementById('gal_desc').innerHTML;<br />
&lt;/script&gt;</code></p>
<p>In place of </p>
<p><code>&lt;div class="ngg-imagebrowser-desc"&gt;&lt;h6&gt;&lt;?php echo $image-&gt;description ?&gt;&lt;/h6&gt;&lt;/div&gt;</code></p>
<p>Here we are putting the title &amp; description in hidden div tags, and after loading the page, we allocate these values to left panel div tag having id “gallery_desc”.</p>
]]></content:encoded>
			<wfw:commentRss>http://narasopa.com/seoblog/2010/02/moving-description-in-nextgen-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

