<?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>aaron-kelley.net &#187; Tagging</title>
	<atom:link href="http://aaron-kelley.net/blog/tag/tagging/feed/" rel="self" type="application/rss+xml" />
	<link>http://aaron-kelley.net</link>
	<description>My little corner of the Internet</description>
	<lastBuildDate>Fri, 18 May 2012 19:32:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Launch of gallery.aaron-kelley.net</title>
		<link>http://aaron-kelley.net/blog/2008/10/launch-of-gallery-aaron-kelley-net/</link>
		<comments>http://aaron-kelley.net/blog/2008/10/launch-of-gallery-aaron-kelley-net/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 04:49:41 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Gallery2]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Tagging]]></category>
		<category><![CDATA[Windows Photo Gallery]]></category>
		<category><![CDATA[XMP]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=3</guid>
		<description><![CDATA[For over a year now, I&#8217;ve been planning to launch an online photo album.  Today, it&#8217;s here. I looked at many options for this.  The easiest solution seems like it would be to use an existing online photo sharing site, like Flickr or Windows Live Spaces.  I looked at four or five of these, and [...]]]></description>
			<content:encoded><![CDATA[<p>For over a year now, I&#8217;ve been planning to launch an online photo album.  Today, it&#8217;s here.</p>
<p>I looked at many options for this.  The easiest solution seems like it would be to use an existing online photo sharing site, like Flickr or Windows Live Spaces.  I looked at four or five of these, and none of them really offered what I was looking for.  And what was that, exactly?</p>
<p><span id="more-3"></span><strong>Access control.</strong> I want to be able to upload a bunch of photos for the general public to see, but have more that friends and family can log in to view.  I want to be able to assign users into groups and set some photos visible only to certain groups.</p>
<p><strong>Tagging.</strong> Some existing services have limited support for tagging.  I really like Windows Photo Gallery&#8217;s hierarchical tagging.  I wanted some way to bring this into my online photo gallery.</p>
<p>(Hold on, why don&#8217;t I just use Facebook?  It seems to fit the bill so far.  Well, how about these&#8230;)</p>
<p><strong>Download the full-size, original photos.</strong> Users who have accounts should be able to download the full photo for archival or printing, not just a scaled-down web version.  And I&#8217;d like the photos on the web site itself to also be reasonably high resolution&#8230; no 640&#215;480 junk.</p>
<p><strong>Easily managed appearance and organization of photos.</strong> Specifically, I want photos to be presented chronologically, and I don&#8217;t want to have to do some tedeous rearranging or even be sure to upload photos in the correct order to get them to appear in the order I want.</p>
<p>After dismissing the idea of using an existing online service, I thought about writing my own.  I started working on my own online photo application.  It was to support everything I mentioned above, and even support importing XMP metadata information saved by Windows Photo Gallery and expose the hierarchical tag tree for users to browse.  I made some good progress on this application during the previous summer, but I ended up dropping it because I simply do not have the time to devote to it.</p>
<p>However, all of that effort was not lost.  I finally settled on <a href="http://gallery.menalto.com/" target="_blank">Gallery</a> (what a name), an open-source PHP based photo gallery web app.  I extended the metadata module provided with it to support reading XMP metadata from Windows Photo Gallery (tags, corrected dates, and captions), using code I had written for this that was originally intended to be used in my own photo application.  This makes uploading photos that I have already organized in Windows Photo Gallery <em>very easy</em> for me.  I made some other minor tweaks to the app, but now it is up and running at <a href="http://gallery.aaron-kelley.net/" target="_blank">gallery.aaron-kelley.net</a>.</p>
<p>Here&#8217;s what you need to know if you want to check out my photo gallery!</p>
<p>I decided <em>not to expose tag information directly</em> for privacy reasons.  However, you can search on the tags.  My tags are pretty detailed, so if you put in a location, person, or whatever in the search box, you may be able to find photos.</p>
<p>Personal photos (that is, photos of me, friends, family, and so on) are only visible to people who have an account and sign in.  If you register for an account, it has to be verified by me before it becomes active.  I will only allow friends and family to register accounts.  People without accounts can still view my more &#8220;general&#8221; photos.</p>
<p>Account holders may also download the original version of any photo they have access to.  Other web users may view the rather generously sized 1024&#215;768 versions.  (I thought about going even higher than that, but decided that it&#8217;d make the page bigger than some users&#8217; web browser windows.  I&#8217;ll check out the Google Analytics data on this after a while, and raise it if it looks like it won&#8217;t bug very many people.)</p>
<p>At this moment, I&#8217;ve only uploaded photos from the last two months.  I will be adding more in the coming days and weeks, starting from now and going backwards.  Photos marked &#8220;NEW&#8221; on the site are photos that I added within the last 7 days.  (After I run out of digital photos, I hope to digitize some &#8220;traditional photos&#8221; and make them available.  But I have lots of digital photos that I have yet to even sort through and tag for myself.)</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2008/10/launch-of-gallery-aaron-kelley-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating Vista&#8217;s Windows Photo Gallery database</title>
		<link>http://aaron-kelley.net/blog/2008/03/migrating-vistas-windows-photo-gallery-database/</link>
		<comments>http://aaron-kelley.net/blog/2008/03/migrating-vistas-windows-photo-gallery-database/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 00:05:57 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Tagging]]></category>
		<category><![CDATA[Windows Photo Gallery]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[XMP]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=33</guid>
		<description><![CDATA[I&#8217;ve taken a liking to the Windows Photo Gallery application that comes with Windows Vista. It&#8217;s nice for organizing photos and videos, and the killer feature for me is the hierarchical tagging, a feature that I cannot find in any other free photo management app for Windows. Windows Photo Gallery stores tag information directly in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve taken a liking to the <a href="http://en.wikipedia.org/wiki/Windows_Photo_Gallery" target="_blank">Windows Photo Gallery</a> application that comes with Windows Vista.  It&#8217;s nice for organizing photos and videos, and the killer feature for me is the hierarchical tagging, a feature that I cannot find in any other free photo management app for Windows.</p>
<p>Windows Photo Gallery stores tag information directly in the files you are tagging, when possible.  For instance, when tagging JPEG files, the tags are stored in the JPEGs using <a href="http://en.wikipedia.org/wiki/Extensible_Metadata_Platform" target="_blank">XMP</a>.  Also, if you modify other information about the files (such as the date/time a photo was taken), that information is stored in the file if possible.</p>
<p>In some cases, the information cannot be stored in the file itself; for instance, if the file is marked &#8220;read only,&#8221; or if the file format does not support metadata (PNG, AVI, etc.).  In this case, Windows Photo Gallery still allows you to do anything you could to a file that it could store the information in, only, it stores the information in its own little private database.  This is transparent to the user.</p>
<p>If you want to move your &#8220;gallery&#8221; to a different machine, and your gallery consists only of JPEG images, you can probably just copy them all to the new machine, and Windows Photo Gallery will automatically index them and rebuild its list of tags.  However, if you have other types of files in your gallery, the information will not be carried along with these files and you&#8217;ll have to re-tag them.  Ugh.</p>
<p><span id="more-33"></span>I&#8217;ve been looking into migrating the Windows Photo Gallery database.  There doesn&#8217;t seem to be any supported way to do this (someone please correct me if I&#8217;m wrong).</p>
<p>The database itself is easy to find — it is the <tt>Pictures.pd4</tt> file, found in <tt>AppData\Local\Microsoft\Windows Photo Gallery</tt> in your Windows profile folder.  So, to migrate the database, it should be as simple as moving this file to the new machine, and making sure that the paths to all of the files in your gallery remain the same, right?</p>
<p>Well, after trying this and running Windows Photo Gallery, we come up with a curious dialog box.</p>
<p style="text-align: center;"><a href="http://aaron-kelley.net/wp-content/uploads/2009/07/20080313_a_wpg-notfound.png" target="_blank"><img class="size-large wp-image-34 aligncenter" title="Windows Photo Gallery folder not found" src="http://aaron-kelley.net/wp-content/uploads/2009/07/20080313_a_wpg-notfound-800x466.png" alt="20080313_a_wpg-notfound" width="800" height="466" /></a></p>
<p>Note that the folder it is complaining about is actually present on the machine.</p>
<p>Here, you have some options.  If you click on &#8220;Find the folder,&#8221; and browse for it, you might end up with a duplicate of every file appearing in your gallery (and the folder is listed under &#8220;Folders&#8221; on the left twice, with no way to remove either of them).  If you click on &#8220;Remove the folder,&#8221; all of the files in your gallery disappear, and your tag information is lost (even if you manually add the folder back).  And if you click on &#8220;Cancel,&#8221; everything works <em>great</em>, all of the files appear and all of the tag information appears to have been migrated succesfully&#8230;  Except, this dialog reappears every time you run Windows Photo Gallery.</p>
<p>In trying to figure out a way to either migrate the information without causing this dialog to appear, or to figure out why Windows Photo Gallery doesn&#8217;t seem to like the Pictures folder even though it has the same path as before, I set up two identical galleries on two separate machines and compared their <tt>Pictures.pd4</tt> files.  Skipping a lot of the details, I did eventually stumble on the key difference.</p>
<p style="text-align: center;"><a href="http://aaron-kelley.net/wp-content/uploads/2009/07/20080313_b_driveserial.png" target="_blank"><img class="size-large wp-image-35 aligncenter" title="Windows Photo Gallery looking at drive serial number" src="http://aaron-kelley.net/wp-content/uploads/2009/07/20080313_b_driveserial-800x500.png" alt="20080313_b_driveserial" width="800" height="500" /></a></p>
<p>Windows Photo Gallery is checking your volume information (volume label and serial number) and storing it in its database; it is then using this to verify that the files are on the same drive that they were before.  If you move the database to a different machine, the volume serial number is not the same, so it throws up the error we saw above.  You can&#8217;t just edit the volume serial number in the <tt>Pictures.pd4</tt> file to match the new one, though, Windows Photo Gallery is able to detect that the file has been tampered with (you&#8217;d have to go fix some other checksum stuff to get that to work).  The easiest thing to do is just to change the volume serial number on your &#8220;destination&#8221; machine to match the one of the &#8220;source&#8221; machine.  You can do that with this SysInternals utility, <a href="http://technet.microsoft.com/en-us/sysinternals/bb897436.aspx" target="_blank">VolumeID</a>.</p>
<p>So, migrating your Windows Photo Gallery database, step-by-step:</p>
<ul>
<li>Copy all of the files in your gallery to the new machine.  Make sure the path to them remains the same as it was on the old machine.</li>
<li>Copy the <tt>Pictures.pd4</tt> file to the new machine.</li>
<li>Change the volume ID of the C: drive (and any other drives with folders indexed by Windows Photo Gallery) on the new machine to be the same as on the old machine, using <a href="http://technet.microsoft.com/en-us/sysinternals/bb897436.aspx" target="_blank">VolumeID</a>.  (Reboot for the changes to be visible, before running Windows Photo Gallery.)</li>
</ul>
<p>Note that Windows Live Photo Gallery can be migrated similarly.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2008/03/migrating-vistas-windows-photo-gallery-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

