<?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>Shepline Creative &#187; lightbox</title>
	<atom:link href="http://creative.shepline.com/tag/lightbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://creative.shepline.com</link>
	<description>design, maintenance and support for the online world</description>
	<lastBuildDate>Thu, 10 Mar 2011 15:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>Using WordPress lightbox gallery</title>
		<link>http://creative.shepline.com/2011/03/10/using-wordpress-lightbox-gallery/</link>
		<comments>http://creative.shepline.com/2011/03/10/using-wordpress-lightbox-gallery/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 15:55:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://creative.shepline.com/?p=304</guid>
		<description><![CDATA[Posted here for my own reference because the instructions for the WordPress Lightbox Gallery plugin are in Japanese: How to use How to use the Lightbox Gallery, WordPress 2.5 has essentially been built since the galleries are the same. Register for more photos, simply insert the tag below post. Photo captions, mouse over the image [...]]]></description>
			<content:encoded><![CDATA[<p>Posted here for my own reference because the instructions for the <a href="http://wpgogo.com/development/lightbox-gallery.html">WordPress Lightbox Gallery plugin are in Japanese</a>:</p>
<p><strong>How to use</strong><br />
How to use the Lightbox Gallery, WordPress 2.5 has essentially been built since the galleries are the same.  Register for more photos, simply insert the tag below post.   Photo captions, mouse over the image coming tooltip (tooltip) appears  as a description of the photograph that appears when Lightbox is  displayed.</p>
<p><strong>Advanced Settings</strong> option is available to all short codes.  For more options, <a href="http://translate.googleusercontent.com/translate_c?hl=en&amp;ie=UTF-8&amp;sl=ja&amp;tl=en&amp;u=http://wordpressgogo.com/customize/using_gallery.html&amp;prev=_t&amp;rurl=translate.google.com&amp;twu=1&amp;usg=ALkJrhgsZEP60IV-NSn9-3S4R3YQGv2Gpw">WordPress 2.5 image using the list of new features galleries</a> want to see.  Here, in addition to the standard option, Lightbox Gallery added in explaining the options.</p>
<ul>
<li> <strong>lightboxsize</strong><br />
Lightbox lightboxsize specified by size is displayed.  By default, the <strong>medium</strong> has become, <strong>full</strong> can also be specified.</p>
<div>
<div id="code-1">
<div>
<blockquote>
<div>[Gallery lightboxsize = "full"]</div>
</blockquote>
</div>
</div>
</div>
</li>
<li> <strong>meta</strong><br />
meta specifies whether to display information about the accompanying photo.  Has become <strong>false</strong> by default, does not appear.  If you want to specify is <strong>true.</strong> Information accompanying the photos, the camera model, aperture, focal  length, ISO, shutter speed, the time taken to display in Lightbox.</p>
<div>
<div id="code-2">
<div>
<blockquote>
<div>[Gallery meta = "true"]</div>
</blockquote>
</div>
</div>
</div>
</li>
<li> <strong>class</strong><br />
To add an attribute class is the class gallery.  <strong>Gallery1</strong> is a default.</p>
<div>
<div id="code-3">
<div>
<blockquote>
<div>[Gallery class = "gallery2"]</div>
</blockquote>
</div>
</div>
</div>
</li>
<li> <strong>nofollow</strong><br />
rel = &#8220;nofollow&#8221; to add.  The default is a false.</p>
<div>
<div id="code-4">
<div>
<blockquote>
<div>[Gallery nofollow = "true"]</div>
</blockquote>
</div>
</div>
</div>
</li>
<li> <strong>from, num</strong><br />
To view images from the position, num is the number of images to be displayed.  The following example displays the images from the image&#8217;s third five.</p>
<div>
<div>
<blockquote>
<div>[Gallery from = "2" num = "5"]</div>
</blockquote>
</div>
</div>
</li>
<li> <strong>pagenavi</strong><br />
num navigation image is displayed depending upon the number of images used.  pagenavi set to 0, and not showing navigation.  For navigation, wp_link_pages same options are available.</p>
<div>
<div id="code-6">
<div>
<blockquote>
<div>[Gallery num = "10" pagenavi = "0"]</div>
</blockquote>
</div>
</div>
</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://creative.shepline.com/2011/03/10/using-wordpress-lightbox-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightbox vs. Twitter</title>
		<link>http://creative.shepline.com/2009/09/18/lightbox-vs-twitter/</link>
		<comments>http://creative.shepline.com/2009/09/18/lightbox-vs-twitter/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 11:34:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[tips'n'tricks]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://creative.shepline.com/?p=222</guid>
		<description><![CDATA[Whilst rolling out a new, spruced up, clean site design to my own website that conforms to both XHTML Strict DTDs and CSS 2.1, I encountered a conflict with the javascript scripting involved with the Lightbox that I was implementing. Although the pages continued to validate against the DTDÂ and the CSS was similarly fine, and [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst rolling out a new, spruced up, clean site design to my own website that conforms to both XHTML Strict DTDs and CSS 2.1, I encountered a conflict with the javascript scripting involved with the <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox that I was implementing</a>. Although the pages continued to <a href="http://validator.w3.org/">validate against the DTD</a>Â and the CSS was similarly fine, and indeed in Firefox and some instances of IE8 there were no display problems. However in some instance of IE8, having the lightbox running on the page caused some elements of the page to not load correctly, and for the footer to not display at all. Further more I had the <a href="http://support.microsoft.com/kb/927917" target="_blank">KB927917</a>Â error from Microsoft which was as inconprehensible as these things usually are.</p>
<p>By systematically deactivating the various scripts running on the page, I tracked down the problem to the Twitter provided javascript code.</p>
<p>I&#8217;ve now put in place a new <a href="http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/">Twitter feed service</a>, which has the advantage of both working with Lightbox <em>and</em> having an option to abort loading tweets if the site is down (something which was causing a problem during recent twitter outages).</p>
<h3>Details</h3>
<p>You can see the <a href="http://visuals.shepline.com/iceland/2004/gallery1.asp">scripts in action here</a>.</p>
<h3>InstallationÂ instructions</h3>
<p>These are ammended for my install (you can see the <a href="http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/">original instructions and download</a> the scripts here):</p>
<h4>Container HTML</h4>
<p>You need to insert a holder element for the twitters to go in to. In the example above, I&#8217;ve included some &#8216;waiting to load&#8217; content &#8211; but you don&#8217;t have to.</p>
<p>Here&#8217;s what I did:</p>
<blockquote><p><span>&lt;div </span><span>id</span><span>=</span><span>&#8220;tweet&#8221;</span><span>&gt;</span><span><br />
Â </span><span>&lt;p&gt;</span><span>Please wait while my tweets load </span><span>&lt;img </span><span>src</span><span>=</span><span>&#8220;/images/indicator.gif&#8221;</span><span> </span><span>/</span><span>&gt;&lt;/p&gt;</span><span><br />
<span>&lt;/div&gt;<br />
</span></span><span>&lt;p&gt;&lt;a href=</span>http://twitter.com/yourtwitterusername</span><span>&gt;</span><span>If you can&#8217;t wait &#8211; check out what I&#8217;ve been twittering</span><span>&lt;/a&gt;&lt;/p&gt;</span><span><br />
</span></p></blockquote>
<p>Here are some more <a href="http://ajaxload.info/">progress indicators</a>.</p>
<p>If you include contents inside the holder <code><span>div</span></code>, then you&#8217;ll need to set the &#8216;clearContents&#8217; flag.</p>
<h4>Add the script</h4>
<p>You should <a href="http://remysharp.com/wp-content/uploads/2007/05/twitter.js">download the twitter.js script</a>, and add the following code within the <code><span>head</span></code> or (best at the bottom of the) <code><span>body</span></code> tag:</p>
<p><span id="_marker">Â </span>(this example will generate my twitter status in quotes on a single line with the &#8216;ago&#8217; linkable back to the original twitter post)</p>
<blockquote><p><span>&lt;scriptÂ </span><span>src</span><span>=</span><span>&#8220;http://yourdomain.com/includes/js/twitter.js&#8221;</span><span>Â </span><span>type</span><span>=</span><span>&#8220;text/javascript&#8221;</span><span>&gt;</span><span>&lt;/script&gt;</span><span><br />
</span><span>&lt;script <span>src</span><span>=</span><span>&#8220;http://yourdomain.com/includes/js/twitter.tweet.js&#8221;</span><span>Â </span></span><span>type</span><span>=</span><span>&#8220;text/javascript&#8221;</span><span> </span><span>charset</span><span>=</span><span>&#8220;utf-8&#8243;</span><span>&gt;</span><span>&lt;/script&gt;</span></p></blockquote>
<p>Create a file called twitter.tweet.js and paste the following code into it:</p>
<blockquote><p>getTwitters<span>(</span><span>&#8216;tweet&#8217;</span><span>,</span><span> </span><span>{</span><span><br />
Â  id</span><span>:</span><span> </span><span>&#8216;yourtwitterusername&#8217;</span><span>,</span><span><br />
Â  count</span><span>:</span><span> </span><span>5</span><span>,</span><span><br />
Â  enableLinks</span><span>:</span><span> </span><span>true</span><span>,</span><span><br />
Â  ignoreReplies</span><span>:</span><span> </span><span>true</span><span>,</span><span><br />
Â  clearContents</span><span>:</span><span> </span><span>true</span><span>,</span><span><br />
Â  </span><span>template</span><span>:</span><span> </span><span>&#8216;%user_name% %text% &lt;a href=&#8221;http://twitter.com/%user_screen_name%/statuses/%id%/&#8221;&gt;%time%&lt;/a&gt;&#8217;</span><span><br />
</span><span>});</span></p></blockquote>
<p>Note that the getTwitters function will execute after the page has been loaded by your browser. It will fire once the <abbr title="Document Object Model">DOM</abbr> is loaded but before images are loaded.</p>
<p>And your&#8217;re done! <img src='http://creative.shepline.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://creative.shepline.com/2009/09/18/lightbox-vs-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

