<?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>Pioneer on the Internet - Sean Gursky &#187; gallery2</title>
	<atom:link href="http://blog.seangursky.com/tag/gallery2/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.seangursky.com</link>
	<description>Breaking ground since 1997</description>
	<lastBuildDate>Tue, 03 Jan 2012 14:48:58 +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>My Attempt to Upgrade the Gallery</title>
		<link>http://blog.seangursky.com/2011/09/my-attempt-to-upgrade-the-gallery</link>
		<comments>http://blog.seangursky.com/2011/09/my-attempt-to-upgrade-the-gallery#comments</comments>
		<pubDate>Wed, 14 Sep 2011 18:38:58 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[gallery3]]></category>

		<guid isPermaLink="false">http://blog.seangursky.com/?p=3231</guid>
		<description><![CDATA[Between climbing a mountain and floating down a river last weekend Gord and I were talking about the Gallery software we use on our respective sites. He mentioned there was a new version of the software that featured some fancy upgrades. I thought the Gallery project was abandoned, but I guess development stopped on Gallery2 [...]]]></description>
			<content:encoded><![CDATA[<p>Between <a href="http://spite.maliceweb.com/forum/viewtopic.php?p=3805" target="_blank">climbing a mountain</a> and floating down a river last weekend Gord and I were talking about the <a href="http://gallery.seangursky.com/" target="_blank">Gallery</a> software we use on our respective sites.  He mentioned there was a new version of the software that featured some fancy upgrades.  I thought the Gallery project was abandoned, but I guess development stopped on Gallery2 to make way for Gallery3.</p>
<p><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/logo-300x119.png" alt="" title="Gallery Logo" width="250" class="aligncenter size-medium wp-image-3244" /></p>
<p>On Monday I began the process of installing Gallery3 and configuring it to my server and preferences.  There were several hurdles in the installation.  Some were <a href="http://codex.gallery2.org/Gallery3:Host_specific_issues" target="_blank">documented</a> but I only accidentally stumbled across them while searching for another issue.  I ran the <a href="http://codex.gallery2.org/Gallery3:ImportingFromGallery2" target="_blank">migration module</a> and <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/20110912.jpg" rel="lightbox[3231]">slowly my Gallery3 library was filling up with photos from Gallery2</a> (<img src="http://blog.seangursky.com/wp-content/uploads/2009/09/camera-icon.jpg" alt="photo link" />).  This was a several hour job but it had over 4000 items to move so I forgave the wait and was happy that it completed without issue.</p>
<p>I had Gallery3 running for a day and a half before deciding to downgrade back to Gallery2, and here are some reasons why.  </p>
<p>Gallery3 worked well enough but I think I had been using Gallery2 for so long that if I couldn&#8217;t get it to look just like Gallery2 I got frustrated.  I spent hours installing the available themes, customizing the options and then digging into the CSS to modify items I wasn&#8217;t satisfied with.  There was a developer who was working on a &#8220;Classic&#8221; theme, but their demo site produced a server error and they hadn&#8217;t posted in months.  That may have been all I needed to stay with Gallery3 but visuals aren&#8217;t enough to ignore missing features. </p>
<p><a href="http://blog.seangursky.com/wp-content/uploads/2011/09/photo-info.png" rel="lightbox[3231]"><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/photo-info.png" alt="" title="photo-info" width="150" class="alignleft size-full wp-image-3237" /></a>I appreciated the effort to have SEO friendly slugs but it didn&#8217;t work with my folder/file naming convention.  Folders had an address of <em>http://gallery.seangursky.com/index.php/Project-365-Year-5</em> and clicking on an individual file had an address of <em>http://gallery.seangursky.com/index.php/Project-365-Year-5/20110910</em>.  This wasn&#8217;t so bad except some file names were long (look no further than something like http://gallery.seangursky.com/index.php/2011-Ice-Dragons/2011-08-12-Shredders_Castledowns_6430) and my compulsion to have things look good would have forced me to rename several thousand files so the URL&#8217;s look better.</p>
<p>For reasons unexplained it bothered me that &#8220;index.php&#8221; was present in all of the addresses.  Gallery2 has a constant &#8220;main.php&#8221; but at least the album and photo are pulled through a query string, but the combination of &#8220;index.php&#8221; and long addresses pushed me over the edge.</p>
<p><center><a href="http://blog.seangursky.com/wp-content/uploads/2011/09/gallery-view.png" rel="lightbox[3231]"><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/gallery-view-150x150.png" alt="" title="View of All Albums" width="150" height="150" class="alignnone size-thumbnail wp-image-3235" /></a> <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/photo-view-within-album.png" rel="lightbox[3231]"><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/photo-view-within-album-150x150.png" alt="" title="View of Photos Within Album" width="150" height="150" /></a> <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/photo-view-detail.png" rel="lightbox[3231]"><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/photo-view-detail-150x150.png" alt="" title="Photo Detail Page" width="150" height="150"  /></a></center></p>
<p>I was able to look the other way for a few nuisances but then I found some potential deal breakers. </p>
<p>The two Gallery3 WordPress plugins I installed couldn&#8217;t recreate the current <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/north-sidebar.png" rel="lightbox[3231]">Project 365 Grid of photos I currently use</a> (<img src="http://blog.seangursky.com/wp-content/uploads/2009/09/camera-icon.jpg" alt="photo link" />).  I even used the WPG3 plugin (which was the predecessor to the one I was using in WPG2) and had no success.  I was able to have the plugins communicate with Gallery3 using the REST API module but I couldn&#8217;t see a way to get what I wanted without making it myself. </p>
<p>The &#8220;Summary&#8221; title on my photos was merged into the &#8220;Description&#8221; text when the Gallery2 to Gallery3 migration was performed.  This made my updated descriptions look something like &#8220;Fluid Hair Vandalism An ad campaign by an Old Strathcona company got people all riled up and some reacted by vandalizing their storefront.&#8221;, where &#8220;Fluid Hair Vandalism&#8221; was the original &#8220;Summary&#8221;.  I could run some PHP/SQL to look for the upper case letters and remove the offending string but that would have been tedious and probably made a few errors along the way.</p>
<p>I had no problems with installing modules to open up functionality of themes but when I was recreating my workflow in Gallery2 there were problems starting to appear.  I was no longer able to <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/edit-captions.png" rel="lightbox[3231]">&#8220;Edit Captions&#8221; for all photos within an album</a> (<img src="http://blog.seangursky.com/wp-content/uploads/2009/09/camera-icon.jpg" alt="photo link" />).  Instead I had to click on the <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/edit-photo-options.png" rel="lightbox[3231]">&#8220;Edit&#8221; (gearbox icon)</a> (<img src="http://blog.seangursky.com/wp-content/uploads/2009/09/camera-icon.jpg" alt="photo link" />) on each photo I wanted to edit, which added unnecessary clicks into my day.  </p>
<p>The gearbox was a nice feature but it slowed me down when I wanted to rename multiple items or when I would accidentaly click on it.  I am fine using the <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/item-actions.png" rel="lightbox[3231]">&#8220;Album/Item Actions&#8221; drop down</a> (<img src="http://blog.seangursky.com/wp-content/uploads/2009/09/camera-icon.jpg" alt="photo link" />) and it would have been nice if there was an option to change how the &#8220;Actions&#8221; menu was accessed.</p>
<p>I wanted to customize the metadata information that displayed on an album.  Instead of showing the number of views on the thumbnail overlay I wanted to show the item count.  This information was visible once you clicked into the album but I find album size more important than number of views.  This should be possible to change in the template but it was just one more thing I&#8217;d have to manipulate myself. </p>
<p>I was no longer able to customize the thumbnail either, I had the &#8220;Square Thumbnails&#8221; module installed but I couldn&#8217;t focus in on a small part of the photo to generate the thumbnail.  It was nice to have <em>all</em> of my images have a square thumbnail but I would prefer to customize the thumbnail over having uniformity in my older albums.</p>
<p><a href="http://blog.seangursky.com/wp-content/uploads/2011/09/info-modal.png" rel="lightbox[3231]"><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/info-modal-300x175.png" alt="" title="Gallery3 EXIF Info Modal" width="300" height="175" class="aligncenter size-medium wp-image-3236" /></a></p>
<p>I like having my EXIF details visible for all photos but this required a click to open up a &#8220;Photo Details&#8221; modal which felt tedious and bothered me more than I thought.</p>
<p>It was around this time I debated if I could live with these problems.  There were some incredible features of Gallery3 that I will miss, but they were more flash and not function so I decided to undo the steps I did only a day before by reverting the .htaccess file, 301 redirects and GoDaddy subdomain forwarding.</p>
<p>Some of the pros of Gallery3 were the ease of use and installation.  The administration panel was well laid out and I didn&#8217;t have to go hunting to find a setting that I needed to update.  </p>
<p><center><a href="http://blog.seangursky.com/wp-content/uploads/2011/09/mobile-theme-01.png" rel="lightbox[3231]"><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/mobile-theme-01-200x300.png" alt="" title="Gallery Mobile Theme" width="200" height="300"/></a> <a href="http://blog.seangursky.com/wp-content/uploads/2011/09/mobile-theme-02.png" rel="lightbox[3231]"><img style="border: 1px solid #666666;" src="http://blog.seangursky.com/wp-content/uploads/2011/09/mobile-theme-02-200x300.png" alt="" title="Gallery Mobile Theme" width="200" height="300"/></a></center></p>
<p>The ability to have a mobile theme was incredible (even if I would be the only one to view my gallery on a mobile device) and I like the implementation of some JavaScript libraries that brought new life to the photo gallery&#8230;but these were all aesthetics and weren&#8217;t enough to keep me around.  </p>
<p>If you want to poke around the installation you can still find it here: <a href="http://seangursky.com/gallery3" target="_blank">http://seangursky.com/gallery3</a>.  I will leave the /gallery3 folder around for now so when the software has matured a bit it will make my transition a little easier.</p>
<p>At no time did I encounter a bug or error while using the software, modules or themes.  Everything seemed rock solid and was nice to use, but I couldn&#8217;t switch until all of my Gallery2 needs are met.  There is active development on Gallery3, coders are always checking in updates to templates and modules but it&#8217;s just wasn&#8217;t the ideal solution for me right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.seangursky.com/2011/09/my-attempt-to-upgrade-the-gallery/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Gallery2 Thumbnail Problem</title>
		<link>http://blog.seangursky.com/2009/12/my-gallery2-thumbnail-problem</link>
		<comments>http://blog.seangursky.com/2009/12/my-gallery2-thumbnail-problem#comments</comments>
		<pubDate>Wed, 16 Dec 2009 16:41:21 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.seangursky.com/?p=1778</guid>
		<description><![CDATA[When I changed hosting plans with GoDaddy I encountered a few problems with Gallery2. All of the configuration was correct, but when I uploaded a new image the square thumbnail would not appear. I deactivated the Square Thumbnail plugin from Site Admin > Gallery > Plugins, and reactivated it but there was no change. I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.seangursky.com/wp-content/uploads/2009/12/gallery2-icon.jpg" alt="Gallery2 Icon" title="Gallery2 Icon" width="75" height="75" class="alignleft size-full wp-image-1785" />When I changed hosting plans with GoDaddy I encountered a few problems with Gallery2.  All of the configuration was correct, but when I uploaded a new image the square thumbnail would not appear.  I deactivated the Square Thumbnail plugin from Site Admin > Gallery > Plugins, and reactivated it but there was no change.  </p>
<p>I attempted to rebuild all thumbnails from Gallery > Maintenance but I received an error message about the last image I uploaded.  I figured something was wrong and began the task of troubleshooting.</p>
<p>If I have a problem with Gallery2 there is a good chance the answer can be found in the <a href="http://gallery.menalto.com/forum" target="_blank">support forums</a>.  The forums were helpful but there was never a &#8216;catch all&#8217; thread for my problem.  Since I have gone through this process twice in eight months I wanted to write the steps I took for future reference and possibly for others if they have a problem when their square thumbnails are no longer being created after a host move.</p>
<p><strong>Getting Started</strong><br />
The <a href="http://codex.gallery2.org/Gallery2:faq#Thumbnails_.2F_resized_images_don.27t_get_generated_properly.2C_how_can_it_be_fixed.3F" target="_blank">Thumbnails / resized images</a> section in the FAQ got me on the path to troubleshooting the Graphic Toolkits.  I started off with completely uninstalling ImageMagick, Jpegtran, NetPBM and Gd.  At this point I uninstalled the Square Thumbnails plugin; I don&#8217;t know if this was necessary to remove the Square Thumbnails plugin but I did not want to take any chances.</p>
<p>Installing ImageMagick, Jpegtran, NetPBM and Gd was easy, but configuring them was where the majority of my time was spent.  Gd installs without configuration, but the other three require a bit more attention.  </p>
<p><strong>ImageMagick</strong><br />
Fortunately ImageMagick is accessible by a public directory on GoDaddy hosting accounts, so when I had to provide a path for the IM (ImageMagick) binaries all I had to enter was &#8220;/usr/local/bin/&#8221; and Save Settings.</p>
<p><a href="http://blog.seangursky.com/wp-content/uploads/2009/12/ImageMagickSettings.jpg" rel="lightbox[1778]"><img src="http://blog.seangursky.com/wp-content/uploads/2009/12/ImageMagickSettings-300x90.jpg" alt="Gallery2 ImageMagick Settings" title="Gallery2 ImageMagick Settings" width="300" height="90" class="aligncenter size-medium wp-image-1787" /></a></p>
<p><strong>Jpegtran</strong><br />
This is where things got a little more difficult for me.  There is a /jpegtran folder at &#8220;/usr/bin/jpegtran&#8221; but that would fail to crop the image when I tested the binary.  I also received the error message &#8220;Incorrect exit status for jpegtran command&#8221;.  </p>
<p>I downloaded my own Jpegtran library from the file &#8220;jpegtran.tar.gz&#8221;, which can be downloaded from <a href="http://blog.seangursky.com/wp-content/uploads/2009/12/jpegtran.tar.gz">here</a>.  I extracted the file and uploaded it to a folder inside of my Gallery2 installation.  Then I set the folder and its contents to 755 and tested the settings again and this time the crop function passed.</p>
<p><strong>NetPBM</strong><br />
I downloaded a version of the NetPBM file from <a href="http://sourceforge.net/projects/gallery/files/tools/netpbm-gallery-1.4-pl2/">Sourceforge</a> (the same file is mirrored <a href="http://blog.seangursky.com/wp-content/uploads/2009/12/netpbm_gallery-1.4-pl2-linux-intel.zip">here</a>).  I extracted the files to a folder inside my Gallery2 installation and set the folder and its contents to 755.  When I ran the test I had the &#8220;Jhead&#8221; path empty and had several error messages.</p>
<p><a href="http://blog.seangursky.com/wp-content/uploads/2009/12/no-jhead-installed.jpg" rel="lightbox[1778]"><img src="http://blog.seangursky.com/wp-content/uploads/2009/12/no-jhead-installed-300x156.jpg" alt="Gallery2 No Jhead Installed" title="Gallery2 No Jhead Installed" width="300" height="156" class="aligncenter size-medium wp-image-1786" /></a></p>
<p>I attempted to install the &#8220;Jhead&#8221; library with <a target="_blank" href="http://blog.seangursky.com/wp-content/uploads/2009/12/Jhead.gz">Jhead.gz</a> and <a target="_blank" href="http://blog.seangursky.com/wp-content/uploads/2009/12/jhead-latest.tar.gz">jhead-latest.tar.gz</a> but neither appeared to work.  When I did this in April 2009 I was not sure if I had &#8220;Jhead&#8221; installed or not, but I am still able to use NetPBM on MIME types image/jpeg, image/pjpeg, image/gif, image/png and image/tiff so that will meet my requirements for now. If I find the answer for the &#8220;Jhead&#8221; library path I will update this post.</p>
<p>With ImageMagick, Jpegtran, NetPBM and Gd installed and configured I reinstalled Square Thumbnails and when I re-uploaded the image my previously broken image now appeared.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.seangursky.com/2009/12/my-gallery2-thumbnail-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

