<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.12-alpha" -->
<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/"
	>

<channel>
	<title>Jeffrey Friedl's Blog</title>
	<link>http://regex.info/blog</link>
	<description>Not a photo blog, but sometimes I play one on TV</description>
	<pubDate>Thu, 04 Dec 2008 14:35:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>
	<language>en</language>
			<item>
		<title>Jeffrey&#8217;s &#8220;Export to Flickr&#8221; Lightroom Plugin</title>
		<link>http://regex.info/blog/lightroom-goodies/flickr/</link>
		<comments>http://regex.info/blog/lightroom-goodies/flickr/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 19:31:05 +0000</pubDate>
		<dc:creator>Jeffrey Friedl</dc:creator>
		
		<category>General</category>

		<guid isPermaLink="false">http://regex.info/blog/lightroom-goodies/flickr/</guid>
		<description><![CDATA[



Quick Links
     &#183; Latest Download:
&#160;&#160;&#160;&#160;&#160;flickr-20081204.58.zip
&#183; Version History
&#183; Installation instructions
&#183; More Lightroom Goodies
&#183; My Photo-Tech Posts
&#183; My Blog



<br style='display:block;margin:5px'/>

<br style='display:block;margin:5px'/>This Export-to-Flickr plugin has been completely rewritten for
Lightroom 2.0 and later, and is not compatible with Lightroom
1.

<br style='display:block;margin:5px'/>Please see the known issues before reporting bugs. If this is your first look at my export plugins, please see the announcement post for an overview and some important information.

 

<br style='display:block;margin:5px'/>(See the old plugin page for a version compatible with Lightroom 1.x)



<br style='display:block;margin:5px'/>Version History
20081204.58Try to work around a fairly rare Lightroom bug that sometimes causes large exports to fail with [...]]]></description>
			<content:encoded><![CDATA[


<div style='float:right; position:relative; border: dotted 1px #888; margin: 0 auto; margin-left:2em; padding:20px; padding-top:5px; background-color: #000'>
<center style='font-weight:bold; font-size:120%'>Quick Links</center>
     &middot; <b>Latest Download</b>:
<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class='quiet' href='http://regex.info/LightroomPlugins2/releases/flickr-20081204.58.zip'><span style='padding:1px 3px; border:solid 1px orange; color:#888'>flickr-<span style='color:orange; font-weight:bold'>20081204.58</span>.zip</span></a>
<br/>&middot; <a class='quiet' href='#history'>Version History</a>
<br/>&middot; <a class='quiet' href='http://regex.info/blog/lightroom-goodies/plugin-installation/'>Installation instructions</a>
<br/>&middot; <a class='quiet' href='http://regex.info/blog/lightroom-goodies/' style='color:#F55'>More Lightroom Goodies</a>
<br/>&middot; <a class='quiet' href='http://regex.info/blog/photo-tech/'>My Photo-Tech Posts</a>
<br/>&middot; <a class='quiet' href='http://regex.info/blog'>My Blog</a>
</div>


<div class='ic tight'><img src="http://regex.info/i/lr/Export-to-Flickr2.png" width="617" height="184"
class="raw"/></div>

<p>This Export-to-Flickr plugin has been completely rewritten for
<b>Lightroom 2.0 and later</b>, and is not compatible with Lightroom
1.</p>

<p>Please see the <a href='http://regex.info/blog/lightroom-goodies/issues/'>known issues</a> before reporting bugs. If this is your first look at my export plugins, please see <a href='http://regex.info/blog/2008-07-29/891'>the announcement post</a> for an overview and some important information.</p>

<style type="text/css">
  #post886 table { border: solid gray 1px }
  #post886 td:first-child { font-weight: bold; padding-right:1em }
  #post886 td p:first-child { margin-top: 0 }
  #post886 .h { font-weight:bold; font-size:120% }
</style>

<p>(See <a href='http://regex.info/blog/photo-tech/lightroom1-flickr/'>the old plugin page</a> for a version compatible with Lightroom 1.<i>x</i>)</p>



<p class='h'><a name='history' style='font-weight:bold'>Version History</a></p>
<table id='history' style='padding:5px'><tr valign='baseline'><td><a name='58'>20081204.58</a></td><td>Try to work around a fairly rare Lightroom bug that sometimes causes large exports to fail with the note <i>Whoa, exported image doesn't exist after waitForRender</i> by pausing for a few seconds to see whether the image shows up. If not, then you still get the error and the export fails.

</td></tr><tr valign='baseline'><td><a name='57'>20081129.57</a></td><td>There have been a lot of spurious errors that some have seen that I think I've tracked down to a race condition at Flickr,
               where immediately after uploading a photo, the data hasn't propagated through Flickr yet, so when the plugin tries to
               set some metadata (add to a set, for example), it could see a "no such photo" error.  I this version, I've added a retry
               ability.... I think. It's hard to test because I've never gotten the error myself. We'll see....

</td></tr><tr valign='baseline'><td><a name='56'>20081127.56</a></td><td>The counting of previous uploads (for the All/Update/New of the Upload Destination section) was not working right.

</td></tr><tr valign='baseline'><td><a name='55'>20081127.55</a></td><td>Added some extra debugging to try to track down networking errors.

</td></tr><tr valign='baseline'><td><a name='54'>20081125.54</a></td><td>Well, I've added something to the "Flickr Extras..." dialog (via the File &gt; Plugin Extras Menu) that, in theory, should allow
               you to connect previously-uploaded images at Flickr to your Lightroom Library. Select the images you want to check and invoke it.
               I didn't spend much effort to make it efficient, so it may take a few minutes if you invoke it on 30,000 images at once. It also may not
               work well in various edge cases, such as multiple images taken during the same second (because neither Lightroom nor Flickr give easy access to
               photo times down beyond one-second granularity). Another fix for a bug that had disabled plugin presets (for captions, etc.).
               Anyway, it's a start... give it a try and let me know what you think.

</td></tr><tr valign='baseline'><td><a name='53'>20081124.53</a></td><td>Perhaps fixed a problem whereby the "Upgrade Now" button didn't work for some Windows users.
               We'll see whether it works when those users upgrade from this version to whatever version is next.

</td></tr><tr valign='baseline'><td><a name='52'>20081123.52</a></td><td>Fixed a plugin crash when using the plugin's built-in preset system.

</td></tr><tr valign='baseline'><td><a name='51'>20081122.51</a></td><td>No problems from the upheaval recently, so pushing back the expiration a bit.

</td></tr><tr valign='baseline'><td><a name='50'>20081118.50</a></td><td>Fixed (I think) a problem with tags that have embedded commas. Flickr's documentation of how to upload tags
               does not reflect reality (that is, it's wrong), so it's a matter of trying to figure out what works....

</td></tr><tr valign='baseline'><td><a name='49'>20081118.49</a></td><td>The same as <b>.48</b>, just to test whether the one-click upgrade stuff actually works in <b>.48</b>.

</td></tr><tr valign='baseline'><td><a name='48'>20081117.48</a></td><td>Oops, wouldn't let you log in / authenticate if you weren't already. Doh. Fixed.

</td></tr><tr valign='baseline'><td><a name='47'>20081117.47</a></td><td>No new functionality in this version, but a huge upheaval in the underlying code to repair an unfortunate design choice I made early on
               in the development that had limiting consequences I'd not foreseen. There are likely bugs introduced in this version, and as such, it
               has a short expiration date to encourage updates as those bugs are reported and fixed. If you do run into an error, please send (via <a
               href='mailto:jfriedl@yahoo.com'>email</a>) the log referenced in the upper-right of the Plugin Manager. Thanks.

</td></tr><tr valign='baseline'><td><a name='46'>20081113.46</a></td><td>Fixed yet another list-of-upload-destinations bug. There are
               sure a lot of edge cases here. Also, deal with Flickr's roadblocks to
               geoencoding happiness. By default, Flickr ignores geoencoded information
               until you tell it not two, twice, in two separate places. See the bottom of
               the "Flickr: Metadata Management" section of the plugin for details /
               links.

</td></tr><tr valign='baseline'><td><a name='45'>20081111.45</a></td><td>Fixed a crash that happened sometimes when there are not yet any preexisting destinations at Flickr.

</td></tr><tr valign='baseline'><td><a name='44'>20081104.44</a></td><td>Perhaps squelch a spurious error dialog

</td></tr><tr valign='baseline'><td><a name='43'>20081103.43</a></td><td>I don't know what's causing the slew of networking problems that have been reported, but I've gone ahead and added a retry mechanism. It'll retry operations that failed due to network problems indefinitely, but you can cancel out of the retrys if you like. If the problems are some kind of flakiness on the machine (somehow introduced in LR2.1???) this may allow operations to complete.

</td></tr><tr valign='baseline'><td><a name='42'>20081031.42</a></td><td>Now works properly with the shadow GPS data maintained by my <a href="http://regex.info/blog/lightroom-goodies/gps/">geoencoding plugin</a>.

</td></tr><tr valign='baseline'><td><a name='41'>20081024.41</a></td><td>Added an option to not add Lightroom keywords as metadata when uploading images. This allows you to not send any keywords if you also have them stripped from the image itself, such as when enabling the "Minimize Embedded Metadata" option, or when stripping keywords with my <a href="http://regex.info/blog/lightroom-goodies/metadata-wrangler/">Metadata Wrangler</a>.  This applies only to keywords in the Lightroom library that are marked for export; those not marked for export are never sent. (Also related, recall that due to a Lightroom bug, images in a catalog upgraded from Lightroom 1.x with Lightroom 2.0 lost the ability to export keywords until <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb405074&#038;sliceId=2">a fix</a> is applied.)

</td></tr><tr valign='baseline'><td><a name='40'>20081022.40</a></td><td>Addressed (and perhaps even fixed) a bug introduced in the previous build.

</td></tr><tr valign='baseline'><td><a name='39'>20081021.39</a></td><td>Small update so that a stuck background version check does not disable the plugin.
               Added a message in the login area with instructions on how to use the plugin with multiple accounts.
               Added the ability to put the "select at time of export" item at the top of the destination list, as had been requested a few times.
               Added some items to the <a href='http://regex.info/blog/lightroom-goodies/template/'>template language</a> that had inexplicably been missing: {HH}, {MIN}, {hh}, {min}, {ss}.

</td></tr><tr valign='baseline'><td><a name='38'>20081015.38</a></td><td>Internal change to the user-agent string that the plugin sends when uploading, to better conform to web standards
               Added back the ability to set the print size via DPI and inches/cm. I think it's more confusing than anything (because it has nothing to do with what size something gets printed at unless you take care to set the printer DPI the same), but someone asked for it and I should really leave it up to the user.
               The plugin now allows you to use any color space registered on your computer when generating images to upload. I don't think this will be useful for very many people, but perhaps it might be a benefit when combined with some printing services(?)

</td></tr><tr valign='baseline'><td><a name='37'>20081007.37</a></td><td>Fixed a problem with the newly added "refresh tags" stuff: extra tags in the refresh dialog derived from template tokens were not
               being computed for each image, but instead, were being reused from the first image. Fixed.

</td></tr><tr valign='baseline'><td><a name='36'>20080929.36</a></td><td><p>I've included in this release a first try at a "refresh tags for previously-uploaded photos", added to the Flick Extras page
               (See <tt class='nobr'>File &gt; Plug-in Extras &gt; Flickr Extras...</tt>).<p>

               <p>Please note that this is a <b>one-way refresh</b> and <b>not</b> a two-way sync. All tags already at Flickr for the selected photos
               will be deleted, replaced by the current set of tags from the Lightroom library and/or the update dialog.</p>

               <p><b>Tags that had been manually added at Flickr will be lost.</b>.</p>
               <p>A two-way sync is not
               in the cards because the Lightroom plugin architecture does not support the plugin adding/deleting keywords in the Lightroom catalog.</p>

               <p>The UI is pretty rough, and I'll likely move this to its own dialog at some point. Test it gingerly on a few images to make sure it works before
               using it whole-heartedly, just to be safe.</p>

</td></tr><tr valign='baseline'><td><a name='35'>20080925.35</a></td><td>I've added a "Group Pools" section, to see how it works. It allows you to add the uploaded photos to a single group pool.
               I can expand on this with tag-based pool stuff if there's a demand...

</td></tr><tr valign='baseline'><td><a name='34'>20080924.34</a></td><td><p>Fixed a race condition that sometimes caused the export destination to not appear in the synopsis of a closed "Upload Destination" dialog section.</p>
               <p>Also fixed an issue whereby doing a "replace" would abort when the image previously uploaded to Flickr was no longer present at Flickr.
               Now, if the image isn't there anymore, the "replace" turns into a simple upload. (A "replace" goes to whatever the gallery the original was in;
               but a replace that turns into an upload goes to the export's destination gallery.)</p>
               <p>Moved the items in the "Upload Management" section into the "Upload Destination" section, since they are really quite related.</p>


</td></tr><tr valign='baseline'><td><a name='33'>20080923.33</a></td><td>I created a "Metadata Management" section in the dialog, and moved some things into that from other sections. This prepared things for
               another big change that allows you to control some of the Flickr metadata via keywords. You can now configure the upload to work such that
               &#8220;<i>images with such-and-such a keyword are marked private, while those with this-n-that a keyword are visible to friends only,
               while all others are visible to everyone.</i>&#8221;  You can do this with image visibility, the Flickr "safety level", the image type, and
               whether the image should be included in the Flickr image search.  It's better to encode your intended status into the Lightroom database,
               via keywords, rather than something ephemeral like a changeable setting in a dialog.

</td></tr><tr valign='baseline'><td><a name='32'>20080923.32</a></td><td>Added a note to the export dialog that the &#8220;replace&#8221; option is meant to update the image only, and not the metadata.
               That's the whole point of Flickr's replace &mdash; so that you can update the image without diddling its caption, tags, etc., or
               removing it from whatever groups it's in.   For the future, I'll work on something that allows one to update metadata separately....

</td></tr><tr valign='baseline'><td><a name='31'>20080923.31</a></td><td>Sigh, just realized that the "check for new version" stuff <i>did</i> break in 2.1. Totally my fault, sorry. Fixed.

</td></tr><tr valign='baseline'><td><a name='30'>20080921.30</a></td><td>There seems to be a bug in the Flickr API that disallows an empty title or description on upload. I now include a workaround that blanks out such a title/description immediately after the upload, when needed.

</td></tr><tr valign='baseline'><td><a name='29'>20080920.29</a></td><td>Enhanced the <tt>{Rating}</tt> token to allow <tt>{Rating=*}</tt> to create "*****" through "". You can put most anything instead of the asterisk, so you might consider <tt class="nobr">{Rating=great&nbsp;}</tt> to end up with "great great great". Since these forms result in nothing for an unrated photo, you can use the "|" pipe to provide a default "when empty" value, such as "rating":   <tt>{Rating=*|"unrated"}</tt>

</td></tr><tr valign='baseline'><td><a name='28'>20080918.28</a></td><td>Added the ability to use template tokens like {Filename} in the "extra tags" input box.

</td></tr><tr valign='baseline'><td><a name='27'>20080916.27</a></td><td>Update an error message to reflect an apparent bug in LR that causes LR to hand off a file to my plugin for upload before the file is actually available. This seems to happen when using LR/Mogrify or other filters.
               Updated the url shown in the "status" section of the plugin manager

</td></tr><tr valign='baseline'><td><a name='26'>20080916.26</a></td><td><i>Finally</i> have the upgrade button working on both Win and Mac. Since I <a href='http://regex.info/blog/2008-09-09/929'>returned home</a> last week, I now have access to both kinds of machine for the first time since LR2 was released. I can sum up the 5 hours I spent wrestling with the unzip code in three word: <b>I hate Windows</b>. Microsoft owes me five hours of my life back.   Note that you may have to install this one by hand in order to get the newly working upgrade button... it's the <i>next</i> upgrade that should be easy-as-click.

</td></tr><tr valign='baseline'><td><a name='25'>20080914.25</a></td><td>Added a few more descriptive tooltips to the example-token dialog

</td></tr><tr valign='baseline'><td><a name='24'>20080914.24</a></td><td>Oops, fixed a boo-boo introduced in the previous version.

</td></tr><tr valign='baseline'><td><a name='23'>20080914.23</a></td><td>Remember (again) the upload-destination across exports. It used to work, and I'm not sure when it stopped working, but it must have been really annoying while it was broken, sorry.

</td></tr><tr valign='baseline'><td><a name='22'>20080914.22</a></td><td>Fixed tokens "OriginalWidth" and "OriginalHeight" in templates.
               Added a bunch of new <a href='http://regex.info/blog/lightroom-goodies/template/'>template tokens</a> and a
               new token filter. Added a token-examples button, which brings up a dialog listing all tokens and their value for
               an example photo (the first photo in the export list).

</td></tr><tr valign='baseline'><td><a name='21'>20080905.21</a></td><td>Fixed an "undefined global: DestinationSynopsis" error that could happen when using a preset with a "select at export time" upload-destination setting

</td></tr><tr valign='baseline'><td><a name='20'>20080904.20</a></td><td>Added support for auto-generated destinations (see the "auto dests" button near the destination-photoset pulldown).
               Disable/ignore "replace" for non-pro accounts.
               No longer report "couldn't delete prior image" errors, since that's not really an error in the light of for our workflow.

</td></tr><tr valign='baseline'><td><a name='19'>20080831.19</a></td><td>Handle a race condition in the upgrade logic that sometimes results in a superfluous "You have version XYZ, but version XYZ is now available" message

</td></tr><tr valign='baseline'><td><a name='18'>20080829.18</a></td><td>Added a bunch of new items to the <a href="http://regex.info/blog/lightroom-goodies/template/">template language</a>.

</td></tr><tr valign='baseline'><td><a name='17'>20080829.17</a></td><td>Oops, left some debugging cruft that results in an "empty" dialog if the logged-in-user has no galleries or the like. Fixed.

</td></tr><tr valign='baseline'><td><a name='16'>20080828.16</a></td><td>fix

</td></tr><tr valign='baseline'><td><a name='15'>20080828.15</a></td><td>Minor tweaks

</td></tr><tr valign='baseline'><td><a name='14'>20080828.14</a></td><td>A few more tweaks to report a failed upgrade attempt a bit more clearly

</td></tr><tr valign='baseline'><td><a name='13'>20080828.13</a></td><td>Whoo-hoo, finally figured out the "assert" problem that some people without photosets were having.

               When upgrading, ignore a status of &#8220;50&#8221; (which means &#8220;out of
               disk space&#8221;) from the unzip the plugin performs. It seems Windows often
               reports this status even when there's plenty of disk space left, so until I
               can understand it better, I'll just ignore that code.

</td></tr><tr valign='baseline'><td><a name='12'>20080827.12</a></td><td>Fixed the Caption {Filetype} token (was broken for DNGs).
               Layout tweaks in my preset dialogs.
               Made some Layout tweaks in my preset dialogs.

</td></tr><tr valign='baseline'><td><a name='11'>20080817.11</a></td><td>Lots of little tweaks as I cleaned things up. Added a bunch of stuff to the Plugin Manager, including
               a &#8220;What's New&#8221; button that shows up next to the &#8220;Upgrade Now&#8221; button when a new version is available.

</td></tr><tr valign='baseline'><td><a name='10'>20080814.10</a></td><td>Fixed infinite cycle of 'assert' messages one might get in odd situations

</td></tr><tr valign='baseline'><td><a name='9'>20080812.9</a></td><td>Fixes (I hope) a "bad argument #1 to '?' (table expected, got nil)" error

</td></tr><tr valign='baseline'><td><a name='8'>20080811.8</a></td><td>Moved and renamed the debugging logs to a temporary folder, and added log Show/Delete buttons to the plugin's custom section of the Plugin Manager.

</td></tr><tr valign='baseline'><td><a name='7'>20080806.7</a></td><td>Fixed {State} and {Rating} in <a href='http://regex.info/blog/lightroom-goodies/template/'>preset templates</a>.

</td></tr><tr valign='baseline'><td><a name='6'>20080805.6</a></td><td>Oops, the Windows versions had lost the ability to upgrade themselves. Once this version is installed manually, subsequent versions should be able to upgrade <a href='http://regex.info/blog/lightroom-goodies/plugin-installation/#upgrade'>as discussed here</a>.
</td></tr><tr valign='baseline'><td><a name='5'>20080804.5</a></td><td>Fixed "Access to undefined global: LrError" error that happens when trying to report a login-related problem.
</td></tr><tr valign='baseline'><td><a name='4'>20080804.4</a></td><td>Fixed a couple of internal errors related to the "choose destination at time of export" feature
</td></tr><tr valign='baseline'><td><a name='3'>20080804.3</a></td><td>Export Presets should now work.
</td></tr><tr valign='baseline'><td><a name='2'>20080731.2</a></td><td>Added the public/private/friends, etc., options that I forgot to include from the v1 plugin.
</td></tr><tr valign='baseline'><td><a name='1'>20080729.1</a></td><td>Initial public release

</td></tr></table>
<style>
#history td { padding-bottom: 10px }
</style>



]]></content:encoded>
			<wfw:commentRss>http://regex.info/blog/lightroom-goodies/flickr/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
