<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>I&#039;d Rather Be Writing &#187; PhotoJAR plugin</title>
	<atom:link href="http://idratherbewriting.com/tag/photojar-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://idratherbewriting.com</link>
	<description>The Latest Trends in Technical Communication</description>
	<lastBuildDate>Mon, 13 Feb 2012 22:26:51 +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>WordPress Tip: WordPress Image Galleries — Give Your Photo Galleries a Lightbox/Slideshowesque Display</title>
		<link>http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/</link>
		<comments>http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 06:36:48 +0000</pubDate>
		<dc:creator>Tom Johnson</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[description]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Lightbox plugin]]></category>
		<category><![CDATA[photo gallery]]></category>
		<category><![CDATA[PhotoJAR plugin]]></category>
		<category><![CDATA[Technical Writing]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress image gallery]]></category>
		<category><![CDATA[WordPress Newsletter]]></category>
		<category><![CDATA[WordPress tips]]></category>

		<guid isPermaLink="false">http://www.idratherbewriting.com/?p=1678</guid>
		<description><![CDATA[Jan 2009 Update: Please see the note at the bottom of this page. Because I had trouble using captions with the Photojar plugin, I deactivated the plugin. A WordPress image gallery allows you to create a sharp-looking presentation for your photos or images. With just a couple of plugins and tweaks and some basic understanding of the WordPress gallery tag, you can make a Lightbox/Slideshowesque ... <a href="http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/">more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Jan 2009 Update: </strong>Please see the note at the bottom of this page. Because I had trouble using captions with the Photojar plugin, I deactivated the plugin.</p>
<p>A WordPress image gallery allows you to create a sharp-looking presentation for your photos or images. With just a couple of plugins and tweaks and some basic understanding of the WordPress gallery tag, you can make a Lightbox/Slideshowesque display of your gallery images without any custom coding.</p>
<p>Here&#8217;s an example of a WordPress gallery that goes a step beyond the default. Click each of the images, and then click the arrow buttons on the image to move to the next one. Instructions for creating such a gallery are below.</p>

<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/moms-castle1/' title='This is a castle made of sugar cubes glued together.'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/moms-castle1-150x150.jpg" class="attachment-thumbnail" alt="Sugar cube castle" title="This is a castle made of sugar cubes glued together." /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/sally-elf-ears/' title='Sally has elf ears just like her father. She also knows the vulcan neck pinch.'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/sally-elf-ears-150x150.jpg" class="attachment-thumbnail" alt="Sally&#039;s elf ears" title="Sally has elf ears just like her father. She also knows the vulcan neck pinch." /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/sally-susan-showing-bases1/' title='All good constructions require a solid foundation.'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/sally-susan-showing-bases1-150x150.jpg" class="attachment-thumbnail" alt="Castle Foundations" title="All good constructions require a solid foundation." /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/sally-what1/' title='Questions AriseNo doubt your kids will have questions, like can we eat the sugar even if it has glue all over it?'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/sally-what1-150x150.jpg" class="attachment-thumbnail" alt="Questions Arise" title="Questions AriseNo doubt your kids will have questions, like can we eat the sugar even if it has glue all over it?" /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/spot-with-mtn-dew-in-backgroun/' title='Even little ones enjoy the activity'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/spot-with-mtn-dew-in-backgroun-150x150.jpg" class="attachment-thumbnail" alt="Little Wonders" title="Even little ones enjoy the activity" /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/sugar-or-glitter/' title='First stack the sugar, then add the glue'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/sugar-or-glitter-150x150.jpg" class="attachment-thumbnail" alt="Order of Operations" title="First stack the sugar, then add the glue" /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/supplies-sugar-cube-castles1/' title='Ingredients needed: sugar cubes, glue, and glitter'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/supplies-sugar-cube-castles1-150x150.jpg" class="attachment-thumbnail" alt="Ingredients Needed" title="Ingredients needed: sugar cubes, glue, and glitter" /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/susan-lying-by-hers/' title='Pure joy in building a sugar cube temple.'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/susan-lying-by-hers-150x150.jpg" class="attachment-thumbnail" alt="Pure Joy" title="Pure joy in building a sugar cube temple." /></a>
<a href='http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/lava-cake-baked-with-whipped-cream/' title='These are so good they make me want to cry.'><img width="150" height="150" src="http://idratherbewriting.com/wp-content/uploads/2008/07/lava-cake-baked-with-whipped-cream-150x150.jpg" class="attachment-thumbnail" alt="Molten Lava Cakes" title="These are so good they make me want to cry." /></a>

<p><span id="more-1678"></span>To create a WordPress image gallery like the one above:</p>
<ol>
<li>Download and install the <a href="http://wordpress.org/extend/plugins/photojar-base/" target="_blank">PhotoJAR plugin</a> and the <a href="http://wordpress.org/extend/plugins/lightbox-2/" target="_blank">Lightbox plugin</a>. Unzip and upload to your plugins folder, and then activate as usual.</li>
<li>After activating the plugins, click the <strong>Settings</strong> tab (far right), and then click <strong>PhotoJAR</strong>. In the Link Images To drop-down, select <strong>Lightbox/Slimbox</strong>. In the Gallery Image Size filter, select <strong>Thumbnail</strong>. Then click <strong>Update Options </strong>at the bottom.</li>
<li>Click the<strong> Lightbox2 </strong>tab, choose the lightbox theme color you want, and then click <strong>Save Changes</strong>.</li>
<li>Create a new post and upload your collection of images by clicking the <strong>Add an Image </strong>button. When you upload an image, it is associated with the post. With each image, add text in the Title and Caption fields. The caption will appear below the gallery thumbnail (so make it short), whereas the Title will appear below the image when viewed alone (so make it longer).<a href="http://www.idratherbewriting.com/wp-content/uploads/2008/07/wordpress_gallery_image.png"><img class="alignnone size-full wp-image-1680" title="Explanation of Title and Caption fields" src="http://www.idratherbewriting.com/wp-content/uploads/2008/07/wordpress_gallery_image2.png" alt="" width="445" height="387" /></a></li>
<li>After uploading the images, close the dialog box. Do NOT click the <strong>Insert into Post</strong> button. Your images are already associated with the post. When you add a gallery tag, they will automatically be pulled into the post without any html code at all.</li>
<li>In the HTML view, add the following code to your post: &#91;gallery size=&#8221;125x125xcrop&#8221;&#93;
<p>. 125 x 125 is the thumbnail size, which you can change to best fit your blog&#8217;s width. By default, three images appear in a row.</li>
<li>Modify the styles for the captions and image sequence numbers by modifying your Lightbox theme&#8217;s style sheet at /wp-content/plugins/lightbox-2/Themes/Black/. In the following style declarations,<strong> caption</strong> controls the Title; <strong>numberDisplay</strong> controls the &#8220;Image 1 of 7&#8230;&#8221; text. Change the values as desired.</li>
<blockquote><p>#stimuli_imageData #stimuli_<strong>caption</strong>{ font-weight: bold; background-color: black; font-size: 12px; color: #c0c0c0;}</p>
<p>#stimuli_imageData #stimuli_<strong>numberDisplay</strong>{ background-color: #000000; display: block; clear: left; padding-bottom: .5em;}</p></blockquote>
<li>Publish your post.</li>
</ol>
<h3>Rearranging the Gallery Image Order</h3>
<p>With WordPress 2.6, you can arrange the gallery image order by dragging the images on the Gallery tab into the order you want.</p>
<h3>Additional Reading</h3>
<ul>
<li>The PhotoJAR plugin has a lot more power and control, with different tags and parameters. You can read <a href="http://www.jarinteractive.com/code/photojar/photojar-base/" target="_blank">more about it here.</a></li>
<li>For more details about the Lightbox plugin, see the <a href="http://wordpress.org/extend/plugins/lightbox-2/" target="_blank">Lightbox pugin&#8217;s page here</a>.</li>
<li>To better understand the WordPress gallery and image tags (new with WordPress 2.5), see the <a href="http://codex.wordpress.org/Using_the_gallery_shortcode" target="_blank">Codex page on gallery shortcodes</a>.</li>
<li>If you need a more robust image gallery plugin, see the <a href="http://wordpress.org/extend/plugins/nextgen-gallery/installation/">NextGen Gallery plugin</a>.</li>
</ul>
<h3>Note About Image IDs</h3>
<p>If you don&#8217;t want to insert an entire gallery, you can insert individual images (which are associated with any post), but you have to know the image IDs. To view the image IDs, go to the <strong>Manage</strong> tab and click the <strong>Media Library</strong> subtab. Mouse over the image title and look at the Post ID that appears in your browser&#8217;s footer. You can then insert the single image into your post by using the following code: [image=23]. Also, replace 23 with your real image ID.</p>
<p>You can also click the Insert into Post button that appears below the image when viewing the Gallery tab.</p>
<h3>Note About the Description Field</h3>
<p>You&#8217;ll notice I didn&#8217;t mention the Description field. The Description field doesn&#8217;t apply to images with the Lightbox effect. If you <em>weren&#8217;t</em> using the Lightbox effect for the gallery, each individual image &#8212; when clicked &#8212; would appear on its own page, with the Description text below it. The Lightbox plugin makes the image appear in a layer on the current page.</p>
<h3>Photo Credit Goes to Jane</h3>
<p>Special thanks to <a href="http://whataboutmomblog.com">Jane</a> for the photos (yes, they&#8217;re our kids). The post where she wrote about this event is here: <a href="http://www.whataboutmomblog.com/2008/07/08/sugar-and-sugar-and-everything-nice/">Sugar and Sugar, and Everything Nice.</a></p>
<p><strong>Nov 5, 2008 Update</strong></p>
<p>I had trouble getting WordPress&#8217;s new caption feature to work with Photojar, so I actually went back and undid all the posts with images since implementing Photojar. Photojar writes the image tag differently than WordPress 2.6 when you insert a caption. I love having captions, so I deactivated Photojar. Sorry. However, depending on your needs, this plugin may be right for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://idratherbewriting.com/2008/07/10/wordpress-image-gallery-example/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

