<?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>KokPinLab.com &#187; Lightbox</title>
	<atom:link href="http://www.kokpinlab.com/tag/lightbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kokpinlab.com</link>
	<description>Photo Laboratory of Live &#124; Eat &#124; Play &#124; Work with Passion</description>
	<lastBuildDate>Sun, 29 Aug 2010 06:01:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Lightbox Photo Gallery Display</title>
		<link>http://www.kokpinlab.com/work/lightbox-photo-gallery-display/</link>
		<comments>http://www.kokpinlab.com/work/lightbox-photo-gallery-display/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 04:57:16 +0000</pubDate>
		<dc:creator>KP Yang</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[Photo Gallery]]></category>

		<guid isPermaLink="false">http://www.kokpinlab.com/?p=451</guid>
		<description><![CDATA[As I was setting up my photo gallery, Wordpress displays the photos in thumbnail setting by default. I found a very cool photo gallery display javascript called LightBox to improve user experience.]]></description>
			<content:encoded><![CDATA[<p><span class="drop-cap">A</span>s I was setting up my photo gallery, WordPress displays the photos in thumbnail setting by default. There are some additional feature in WordPress that you can either set up the photo to display in full size on the same page or on a new windows.</p>
<p>However, I just felt that the user experience was damn lousy in that way. In particular, it is very disturbing to see new windows being opened or new pop up appearing to show the photo elsewhere. That gave me a feeling of lost of connection from the main website.</p>
<h2>LightBox Photo Display Javascript</h2>
<p>I search online trying to look for some idea or solution to improve user experience. I found a very cool photo gallery display javascript called <a title="Lightbox Javascript" href="http://www.lokeshdhakar.com/projects/lightbox2/" target="_blank">LightBox</a>. It allows a photo to be enlarged and displayed right at the center of the screen upon a single click on the thumbnail. On top of that, the background will also be dimmed down to make the photo standing out. It also included some basic &#8220;Previous&#8221; and &#8220;Next&#8221; buttons to scroll between all the photos in the same gallery without opening up all the disturbing windows or pop up.</p>
<p>The set up is not very complicated and quite straight forward. You simple need to download the script files, upload it to your server. Personally, I put it under my wordpress theme directory. An instruction is provided in the ZIP file that comes with the script. Follow the instruction to add javascript and CSS headers into your theme files.</p>
<p>If you are familiar with PHP, you can disable the default WordPress gallery setting and modify it to use Lightbox. Programming is just not my cup of tea. I utilized a WordPress Plugin called <a title="Cleaner WordPress Gallery" href="http://justintadlock.com/archives/2008/04/13/cleaner-wordpress-gallery-plugin" target="_blank">Cleaner WordPress Gallery</a> for setting up the wordpress gallery for me.</p>
<p>After which, I was done!!! Open up the gallery @ <a title="KokPinLab : Live | Eat | Play | Work with Passion" href="http://www.kokpinlab.com" target="_self">KokPinLab.com</a> and I have my lightbox working&#8230; *Happy*&#8230; hehe&#8230;</p>
<div id="attachment_453" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-453" title="Lightbox Photo Display on KokPinLab" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/lightbox-at-kokpinlab.jpg" alt="Lightbox Photo Display on KokPinLab" width="500" height="392" /><p class="wp-caption-text">Lightbox Photo Display on KokPinLab</p></div>
<h2>Lightbox Script Download</h2>
<p class="download">You can download the Lightbox script at: <a title="Lightbox Script" href="http://www.lokeshdhakar.com/projects/lightbox2/" target="_blank">http://www.lokeshdhakar.com/projects/lightbox2/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kokpinlab.com/work/lightbox-photo-gallery-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
