<?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>MikeBrum.com &#187; Photography</title>
	<atom:link href="http://mikebrum.com/category/photography/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikebrum.com</link>
	<description>Bombarding the net with slightly greasy solar atoms for almost 10 years...</description>
	<lastBuildDate>Sun, 20 May 2012 19:56:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Honolua Bay &#8211; 20120519</title>
		<link>http://mikebrum.com/honolua-bay-20120519/</link>
		<comments>http://mikebrum.com/honolua-bay-20120519/#comments</comments>
		<pubDate>Sun, 20 May 2012 19:55:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2294</guid>
		<description><![CDATA[Almost amazingly, until yesterday, I had never swam at Honolua Bay. I&#8217;ve driven past it a ton of times, but never snorkeled there. The last time Corinne visited (about two weeks ago), she came back telling me about seeing some squid &#8212; which got me REALLY excited (I love cephalopods). I was really worried that [...]]]></description>
			<content:encoded><![CDATA[<p>Almost amazingly, until yesterday, I had never swam at Honolua Bay. I&#8217;ve driven past it a ton of times, but never snorkeled there.</p>
<p>The last time Corinne visited (about two weeks ago), she came back telling me about seeing some squid &#8212; which got me REALLY excited (I love cephalopods). I was really worried that we&#8217;d show up and there wouldn&#8217;t be any.</p>

<a href="http://mikebrum.com/wp-content/gallery/underwater/20120519_honolua_bay_squid_02.jpg" title="One of many squid that were just hanging out in the shallows at Honolua Bay." class="thickbox" rel="singlepic394" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/394__360x270_20120519_honolua_bay_squid_02.jpg" alt="Squid at Honolua Bay" title="Squid at Honolua Bay" />
</a>

<p>Thankfully, I wasn&#8217;t disappointed! I also took some video, that&#8217;s going to take a while longer to go through. For now, enjoy the squid and eel photos that I posted to the <a title="Underwater Photo Gallery" href="http://mikebrum.com/photo-galleries/?mode=gallery&amp;gallery=underwater">Underwater Photo Gallery</a> (along with one nice &#8220;<em>seascape</em>&#8221; looking up at a huge coral head from about 20&#8242; down).</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/honolua-bay-20120519/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>February Whale Watch Trip</title>
		<link>http://mikebrum.com/february-whale-watch-trip/</link>
		<comments>http://mikebrum.com/february-whale-watch-trip/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 06:54:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2282</guid>
		<description><![CDATA[Corinne wanted a whale watch trip for her birthday. How could I deny that &#8211; especially when I get to go with her! One thing she really wanted to see was a spy hop. Unfortunately, as it pertains to humpbacks and especially during their time in the Hawaiian islands, spyhopping is a fairly uncommon activity. [...]]]></description>
			<content:encoded><![CDATA[<p>Corinne wanted a whale watch trip for her birthday. How could I deny that &#8211; especially when I get to go with her!</p>
<p>One thing she really wanted to see was a <a title="Spy Hop" href="http://en.wikipedia.org/wiki/Spy_hop#Spyhopping">spy hop</a>. Unfortunately, as it pertains to humpbacks and especially during their time in the Hawaiian islands, spyhopping is a fairly uncommon activity. But fortunately, someone forgot to tells this delightfully inquisitive whale that today.</p>

<a href="http://mikebrum.com/wp-content/gallery/fauna/20120204_whale_watch_03_0.jpg" title="This was a trip Corinne wanted for her birthday. All she wanted to see was a spy hop (a rare behavior for these waters). Thankfully, she wasn't disappointed." class="thickbox" rel="singlepic377" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/377__360x240_20120204_whale_watch_03_0.jpg" alt="20120204 Whale Watch - Happy Birthday Spy Hop" title="20120204 Whale Watch - Happy Birthday Spy Hop" />
</a>

<p>I posted an additional 15 awesome whale images in the <a title="Fauna Image Gallery" href="http://mikebrum.com/photo-galleries/?mode=gallery&amp;gallery=fauna">Fauna Gallery</a>. I took about 1200 shots today and these are the ones that I liked. There were a lot of &#8220;empty&#8221; frames right before and right after the action in addition to incredibly redundant shots. There are plenty more that I liked that just weren&#8217;t as nice. I&#8217;m still holding out to get a nice shot of a breach. Maybe after I get back from my upcoming travels.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/february-whale-watch-trip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bathroom Guest</title>
		<link>http://mikebrum.com/bathroom-guest/</link>
		<comments>http://mikebrum.com/bathroom-guest/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 07:06:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2277</guid>
		<description><![CDATA[Went to take a shower today and I was surprised (not startled) to see a rather large gecko chilling on the wall of the shower. For what it&#8217;s worth, I rotated the image 90 degrees. The gecko was hanging on the wall head-down. I think the original pose (vertical) detracted from the shot, so I [...]]]></description>
			<content:encoded><![CDATA[<p>Went to take a shower today and I was surprised (not startled) to see a rather large gecko chilling on the wall of the shower.</p>

<a href="http://mikebrum.com/wp-content/gallery/fauna/20120115_bathroom_gecko_01.jpg" title="Rotated the image 90 degrees since he was hanging on the wall head-down. I think the pose distracted from the actual gecko. " class="thickbox" rel="singlepic358" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/358__360x240_20120115_bathroom_gecko_01.jpg" alt="Gecko chilling in the bathroom" title="Gecko chilling in the bathroom" />
</a>

<p>For what it&#8217;s worth, I rotated the image 90 degrees. The gecko was hanging on the wall head-down. I think the original pose (vertical) detracted from the shot, so I took the creative license to rotate it. If you&#8217;re familiar with my shooting style (no cropping, close to zero editing), this is actually a big deal.</p>
<p>The gecko itself appears to be living behind the medicine cabinet, which I find cute for some bizarre reason. I know this because I was only able to fire off 4 shots before he realized I wasn&#8217;t going away and fled wall-to-wall to his hidey-hole.</p>
<p>I&#8217;m just happy I had the opportunity to get some decent shots before he disappeared. I&#8217;m sure we&#8217;ll see him again.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/bathroom-guest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas on Maui</title>
		<link>http://mikebrum.com/christmas-on-maui/</link>
		<comments>http://mikebrum.com/christmas-on-maui/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 06:12:07 +0000</pubDate>
		<dc:creator>mbrum</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2267</guid>
		<description><![CDATA[Without any family on the islands, the routine we had fallen into for spending our holidays is gone. This year, I decided that it&#8217;d be fun to go out on a whale watch since Pacific Whale Foundation was running them still on Christmas. It&#8217;s still fairly early in the whale season here, but there are [...]]]></description>
			<content:encoded><![CDATA[<p>Without any family on the islands, the routine we had fallen into for spending our holidays is gone. This year, I decided that it&#8217;d be fun to go out on a whale watch since <a href="http://pacificwhale.org/">Pacific Whale Foundation</a> was running them still on Christmas.</p>
<p>It&#8217;s still fairly early in the whale season here, but there are still whales to be seen. Here&#8217;s a shot of one of the pairs that we saw this morning:</p>

<a href="http://mikebrum.com/wp-content/gallery/fauna/20111225_christmas_whales_01.jpg" title="Went out on a Pacific Whale Watch on Christmas morning. Here's one pair of whales being awesome." class="thickbox" rel="singlepic357" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/357__360x240_20111225_christmas_whales_01.jpg" alt="Whales on Christmas Morning" title="Whales on Christmas Morning" />
</a>

<p>The other decision I made was to take the first trip of the day. This meant getting up at 4am, but it also meant we got to see a beautiful sunrise this morning.</p>

<a href="http://mikebrum.com/wp-content/gallery/landscapes/20111225_sunrise_behind_haleakala_01.jpg" title="Beautiful sunrise behind Haleakala on Christmas morning." class="thickbox" rel="singlepic354" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/354__360x240_20111225_sunrise_behind_haleakala_01.jpg" alt="Sunrise Behind Haleakala" title="Sunrise Behind Haleakala" />
</a>

<p>There&#8217;s a few more in the <a href="http://mikebrum.com/photo-galleries/?mode=gallery&amp;gallery=landscapes">Landscape Gallery</a>.</p>
<p>I hope to make the Christmas day whale watch a tradition.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/christmas-on-maui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monk Seal Black Friday</title>
		<link>http://mikebrum.com/monk-seal-black-friday/</link>
		<comments>http://mikebrum.com/monk-seal-black-friday/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 07:12:14 +0000</pubDate>
		<dc:creator>mbrum</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2251</guid>
		<description><![CDATA[Instead of spending hours and hours in stupid lines to fight stupid people for stupid things that we don&#8217;t really need anyway, we set out to see if we could spot any whales from shore today. While it&#8217;s still a bit early in the season for regular shore sightings, the whales are in the area [...]]]></description>
			<content:encoded><![CDATA[<p>Instead of spending hours and hours in stupid lines to fight stupid people for stupid things that we don&#8217;t really need anyway, we set out to see if we could spot any whales from shore today. While it&#8217;s still a bit early in the season for regular shore sightings, the whales are in the area and it&#8217;s not impossible to spot some already.</p>
<p>While we didn&#8217;t get to see any whales, we did come across an incredible treat &#8212; a Hawaiian Monk Seal!</p>

<a href="http://mikebrum.com/wp-content/gallery/fauna/20111125_black_friday_monk_seal_04.jpg" title="Our Black Friday deal: came across a very rare site -- a monk seal sunning itself on an isolated spit of land a bit south of Lahaina." class="thickbox" rel="singlepic352" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/352__360x240_20111125_black_friday_monk_seal_04.jpg" alt="Black Friday Monk Seal" title="Black Friday Monk Seal" />
</a>

<p>There&#8217;s two more in the <a title="Fauna Image Gallery" href="http://mikebrum.com/photo-galleries/?mode=gallery&amp;gallery=fauna">Fauna Image Gallery</a>.</p>
<p>Latest estimates put the entire Hawaiian Monk Seal population at only 1060 individuals with only about 150 that live outside of the Northwestern Hawaiian Islands (which are mostly uninhabited).</p>
<p>The image may imply that I was pretty close to the seal, but the reality is that I was on a cliff above him and still a decent bit away from it. At no point could I have actually approached it (not that I would have) and at the first sign that it wasn&#8217;t totally comfortable with our presence (when I got an unexpected phone call), we packed up and headed away.</p>
<p>I phoned the sighting into <a href="http://www.fpir.noaa.gov/PRD/prd_hms_index.html">NOAA</a> and I emailed them copies of the images.</p>
<p>I&#8217;ll trade a whale encounter for a rare seal encounter any day!</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/monk-seal-black-friday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sunset Over Kaho&#8217;olawe</title>
		<link>http://mikebrum.com/sunset-over-kahoolawe/</link>
		<comments>http://mikebrum.com/sunset-over-kahoolawe/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 19:15:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2246</guid>
		<description><![CDATA[Went out to snap some sunset pics yesterday. I decided to head south and ended up pretty much as far south you can go without looping around the other side of the island and traverse Hana. Here&#8217;s a shot with the sun setting behind Kaho&#8217;olawe from the beautiful standpoint of La Perouse Bay.]]></description>
			<content:encoded><![CDATA[<p>Went out to snap some sunset pics yesterday. I decided to head south and ended up pretty much as far south you can go without looping around the other side of the island and traverse Hana.</p>
<p>Here&#8217;s a shot with the sun setting behind Kaho&#8217;olawe from the beautiful standpoint of La Perouse Bay.</p>

<a href="http://mikebrum.com/wp-content/gallery/landscapes/20111113_kahoolawe_sunset_la_perouse_bay.jpg" title="Sunset behind Kaho'olawe by way of La Perouse Bay." class="thickbox" rel="singlepic349" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/349__360x240_20111113_kahoolawe_sunset_la_perouse_bay.jpg" alt="20111113_kahoolawe_sunset_la_perouse_bay" title="20111113_kahoolawe_sunset_la_perouse_bay" />
</a>

]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/sunset-over-kahoolawe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kite Beach</title>
		<link>http://mikebrum.com/kite-beach/</link>
		<comments>http://mikebrum.com/kite-beach/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 01:47:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2240</guid>
		<description><![CDATA[I woke up yesterday and it was windy. Really windy. Generally speaking, this is a bit odd. We have a rather predictable cycle where it&#8217;s calm in the morning, the wind picks up in the late morning / early afternoon for a few hours and then dies back down again. Plus, I get up early [...]]]></description>
			<content:encoded><![CDATA[<p>I woke up yesterday and it was windy. Really windy. Generally speaking, this is a bit odd. We have a rather predictable cycle where it&#8217;s calm in the morning, the wind picks up in the late morning / early afternoon for a few hours and then dies back down again. Plus, I get up early (typically 5am every day), so it&#8217;s usually very calm that early.</p>
<p>Figuring that other people would have the same idea, when I was done with work, I headed over to Kite Beach to check out the kiteboarders. With my photo gear in tow, I fired away a ton of shots.</p>

<a href="http://mikebrum.com/wp-content/gallery/sports/20111109_kite_beach_24.jpg" title="Kiteboarding at Kite Beach on Maui" class="thickbox" rel="singlepic348" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/348__360x240_20111109_kite_beach_24.jpg" alt="20111109_kite_beach_24" title="20111109_kite_beach_24" />
</a>

<p>&nbsp;</p>
<p>If you&#8217;ve never seen kiteboarders in action, it&#8217;s something to behold. If you get to Maui, be sure to head to Kite Beach in the afternoon and enjoy the crazy aerial acrobatics that these people bust out.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/kite-beach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Molokini Crater &amp; Turtle Town Snorkel Trip</title>
		<link>http://mikebrum.com/molokini-crater-turtle-town-snorkel-trip/</link>
		<comments>http://mikebrum.com/molokini-crater-turtle-town-snorkel-trip/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 01:31:40 +0000</pubDate>
		<dc:creator>mbrum</dc:creator>
				<category><![CDATA[Hawaii]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2169</guid>
		<description><![CDATA[Took a trip to Molokini Crater yesterday and did some snorkeling. It was a great time and I got a few nice photos. There&#8217;s a small series that I haven&#8217;t processed and published yet since they&#8217;re pretty specific and very cool, so I want to handle them separately and make a separate post about them. [...]]]></description>
			<content:encoded><![CDATA[<p>Took a trip to Molokini Crater yesterday and did some snorkeling. It was a great time and I got a few nice photos. There&#8217;s a small series that I haven&#8217;t processed and published yet since they&#8217;re pretty specific and very cool, so I want to handle them separately and make a separate post about them. Expect them within a day or two.</p>
<p style="text-align: left;">
<a href="http://mikebrum.com/wp-content/gallery/underwater/20110730_turtle_town_01.jpg" title="Green Sea Turtle at Turtle Town" class="thickbox" rel="singlepic315" >
	<img class="ngg-singlepic ngg-center" src="http://mikebrum.com/wp-content/gallery/cache/315__320x240_20110730_turtle_town_01.jpg" alt="Green Sea Turtle at Turtle Town" title="Green Sea Turtle at Turtle Town" />
</a>
</p>
<p>You can head over to my <a href="http://mikebrum.com/photo-galleries/?mode=gallery&amp;gallery=underwater">Underwater Photo Gallery</a> for the 9 new images that I added.</p>
<p>Quick G12 Update:</p>
<p>Overall, I was VERY happy with the G12 in the Canon WP-DC34 waterproof case for the G12. There are two small issues that I have with it:</p>
<ol>
<li>The &#8220;half press&#8221; on the shutter button to focus simply doesn&#8217;t give enough response through the waterproof case to know if you&#8217;ve successfully half-pressed it.
<p>When you do succeed, there&#8217;s usually a visual queue on the LCD, but this can be easy to miss both by not noticing it or by going straight past that and fully depressing the button.</p>
<p>It&#8217;s possible that this will get sorted out as the housing gets &#8220;broken in&#8221; more &#8212; but it&#8217;s annoying to miss shots due to it.</li>
<li>I shoot A LOT in AV mode (aperture priority) mode &#8211; especially underwater. The dial in the front to let you set your aperture doesn&#8217;t have an exposed dial on the underwater housing. This means that you can&#8217;t change your aperture in AV mode after it&#8217;s already set.
<p>I don&#8217;t know if there&#8217;s another way to change it, but I haven&#8217;t found it. I&#8217;ll keep looking, but the fact that this one dial doesn&#8217;t have an exposed dial in the housing is very unfortunate.</li>
</ol>
<p>But those two quibbles aside, I was both happy with how it performed and the photos that it took. Hopefully the shortcomings won&#8217;t be impossible to work around.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/molokini-crater-turtle-town-snorkel-trip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Camera Time &#8212; Canon PowerShot G12</title>
		<link>http://mikebrum.com/new-camera-time-canon-powershot-g12/</link>
		<comments>http://mikebrum.com/new-camera-time-canon-powershot-g12/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 01:56:33 +0000</pubDate>
		<dc:creator>mbrum</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2167</guid>
		<description><![CDATA[My Canon PowerShot A710-IS is pretty much dying. Let me rephrase that: the camera is still in GREAT shape and takes great pictures, but the camera just burns through fresh batteries in about a half hour. The fact that the images it takes are still great is the only shame. Despite owning a Canon 30D [...]]]></description>
			<content:encoded><![CDATA[<p>My Canon PowerShot A710-IS is pretty much dying. Let me rephrase that: the camera is still in GREAT shape and takes great pictures, but the camera just burns through fresh batteries in about a half hour. The fact that the images it takes are still great is the only shame.</p>
<p>Despite owning a Canon 30D (which I use for my more &#8220;serious&#8221; underwater photography) and a Canon 5D mkII (which I use for almost everything else), I like keeping a point and shoot for situations when I don&#8217;t want to take all my gear &#8212; be it because I don&#8217;t want to take a bag with me to carry the camera or because we&#8217;re going to be snorkeling and my full underwater rig is 100% overkill.</p>
<p>Up until recently, the A710-IS has performed those duties very well. And when faced with the decision of what to replace it with, the Canon G12 quickly rose to the top of the list.</p>
<p>Even though I&#8217;ve only had it for about 2 days, here&#8217;s what I like about the G12:</p>
<ul>
<li>It can be used as a &#8220;real&#8221; camera with consideration given to manual settings</li>
<li>All the options for those manual settings are very easy to access (many P&amp;S cameras do have manual settings &#8211; but they&#8217;re VERY hard to get to making them almost unusable)</li>
<li>The tilt &amp; swivel LCD is really nice</li>
<li>Natively shoots RAW without any wonky firmware hacks</li>
<li>There&#8217;s a hot shoe (yes, this is awesome)</li>
<li>The visual readout on the LCD is great &#8211; with lots of current settings displayed, a level and a histogram</li>
<li>It takes a battery pack instead of a bunch of AA&#8217;s (some people like AA&#8217;s for the flexibility)</li>
</ul>
<p>There are a few things that I don&#8217;t like, but most of them are very minor:</p>
<ul>
<li>The tripod mount isn&#8217;t centered over the lens (it&#8217;s centered relative to the camera body)</li>
<li>The on-cam flash casts a shadow on close objects from the lens (not uncommon for many P&amp;S cams)</li>
<li>The G12 RAW files aren&#8217;t able to be read w/ CS4 &#8211; you need to upgrade to CS5 (not really a Canon problem, but worth mentioning)</li>
</ul>
<p>Most of the images that I&#8217;ve taken have been just shooting around the house to get familiar w/ the camera. The real test will come tomorrow when I take the G12 out on a long snorkel trip.</p>
<p>If there are any good photos or if I run into any problems, I&#8217;m sure I&#8217;ll be posting about them soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/new-camera-time-canon-powershot-g12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Galleries Are Fixed Now &#8212; NextGEN Gallery Not Displaying Thickbox Images</title>
		<link>http://mikebrum.com/galleries-are-fixed-now-nextgen-gallery-not-displaying-thickbox-images/</link>
		<comments>http://mikebrum.com/galleries-are-fixed-now-nextgen-gallery-not-displaying-thickbox-images/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 15:44:01 +0000</pubDate>
		<dc:creator>mbrum</dc:creator>
				<category><![CDATA[Nerd]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://mikebrum.com/?p=2163</guid>
		<description><![CDATA[After laying down for bed, I had an epiphany last night and got up and based away at the keyboard for a bit. Luckily, the effort wasn&#8217;t wasted, as I was able to fix the issue that caused the problem in the first place. The long story boiled down is that the ThickBox can find [...]]]></description>
			<content:encoded><![CDATA[<p>After laying down for bed, I had an epiphany last night and got up and based away at the keyboard for a bit. Luckily, the effort wasn&#8217;t wasted, as I was able to fix the issue that caused the problem in the first place.</p>
<p>The long story boiled down is that the ThickBox can find a &#8220;group&#8221; of images if you pass it common name in the <em>rel</em> param in your <em>a</em> tag. For instance:</p>
<blockquote><p>&lt;a href=&#8221;http://mikebrum.com/full_image.jpg&#8221; class=&#8221;thickbox&#8221; rel=&#8221;anyString&#8221;&gt;&lt;img src=&#8221;http://mikebrum.com/thumb_image.jpg&#8221; /&gt;&lt;/a&gt;</p></blockquote>
<p>That&#8217;s simple enough. Any link that has the <em>rel</em> param set to &#8220;anyString&#8221; will be shown with Thickbox having &#8220;next&#8221; and &#8220;prev&#8221; links so you don&#8217;t have to view, close, open the next by hand. Very handy feature, for sure!</p>
<p>However, if the <em>rel</em> param happens to have a space in it, this appears to break completely, resulting in the image not being displayed. I&#8217;m sure there&#8217;s some degree of bug on Thickbox&#8217;s side, but I decided to fix it on the <a title="NextGEN Gallery" href="http://alexrabe.de/wordpress-plugins/nextgen-gallery/">NextGEN Gallery</a> side since that&#8217;s code I&#8217;m far more familiar with.</p>
<p>The fix is rather simple. In &lt;your_WP_root&gt;/wp-content/plugins/nextgen-gallery/lib/image.php, find the line:</p>
<blockquote><p>function get_thumbcode($galleryname = &#8221;) {</p></blockquote>
<p>Immediately under that, add the following two lines:</p>
<blockquote><p> // Fix thickbox failure when $galleryname has a space in it<br />
$galleryname = preg_replace( &#8216;/\s+/&#8217;, &#8221;, $galleryname );</p></blockquote>
<p>And that&#8217;s it. That strips the whitespace from the $galleryname variable which is what&#8217;s passed on to the code that populates the <em>rel</em> param in image links for Thickbox.</p>
<p>Just keep in mind that if you make this change on your server, your changes will be overwritten when you perform your next update &#8212; so make a note and be sure to apply this fix again after you upgrade.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikebrum.com/galleries-are-fixed-now-nextgen-gallery-not-displaying-thickbox-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

