Jeffrey’s “Export to SmugMug” Lightroom Plugin

This plugin works again.

With help from SmugMug, I've gotten this plugin working again after the API issue in July. Some fringe features may take a while to return, but basic features now work as of version 20180728.325.


This plugin allows you to export images from Lightroom directly to your SmugMug account.

This plugin works in Lightroom Classic, and older versions as far back as Lightroom 4, though some features depend on the version of Lightroom.

The same download works for both Windows and Mac. See the box to the upper right for the download link (in orange) and installation instructions.

FYI, SmugMug itself offers a Publish-only plugin for Lightroom here. It was included by Adobe in Lr3, but as of Lr4 must be downloaded and installed manually. There are pluses and minuses to each: my plugin is generally more configurable and has more features, and also supports non-publish Export, but it's also more visually complex; SmugMug's plugin heroically supports two-way gallery synchronization.

In any case, you can use both in parallel if you'd like for testing. Both are free.

Please see the FAQ and 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.

When run in Lightroom 3 or later, there is full support for Lightroom's new Publish feature. See the manual for Publish to SmugMug for details.

Availability

This plugin is distributed as “donationware”. I have chosen to make it available for free — everyone can use it forever, without cost of any kind — but unless registered, its functionality is somewhat reduced after six weeks.

Registration is done via PayPal, and if you choose to register, it costs the minimum 1-cent PayPal fee; any amount you'd like to add beyond PayPal's sliding fees as a gift to me is completely optional, and completely appreciated.

Note: a Lightroom major upgrade, such as from Lr6 to Lr7 (or the equivalent under the hood for the Lightroom Classic subscription) de-registers the plugin in the upgraded version, so if you want to maintain registration, a new ($0.01 if you like) registration code is needed in the upgraded version. It makes for a hassle every couple of years, I know. Sorry. See this note for details.

For details on plugin registration and on how I came into this hobby of Lightroom plugin development, see my Plugin Registration page.

Version History
( Update Log via RSS )

20181108.344

Finally got the "resend metadata" functionality put back. Sorry for the delay.

Trying a workaround for the inability to update a title. It seems that when the title is updated when a new image is sent, a bug at SmugMug causes the title to be reverted back a few seconds later. I reported these details to SmugMug months ago, but still no fix. However, I suddenly had the bright idea to simply resend the title after a short pause, and that seems to work. No idea why I didn't think of this fairly-obvious workaround sooner.

Added the PEOPLE variable to the LUA token.

20181029.343

When not logged in, make it more clear what you're not logged into, and how to fix it.

Properly handle folders with more than 200 albums.

Updated the alphabetical sort to be "sorta-smart alphabetical sort", whereby names that differ only by a number are sorted numerically. For example, "album2" properly falls between "album1" and "album3", but "album20" falls after. The former straight-up alphabetical sort put "album20" before "album3", which is ugly and unpractical.

20181020.342

Created a way to completely disable the fetching of photo comments from SmugMug. Lightroom normally does this for every photo in a publish collection after every publish operation, and that overhead can be significant if you have many photos in your collection. If you never care about photo comments, you can now visit the Plugin Manager to completely disable the fetching and the overhead.

20181017.341

Make the template-editing window a big bigger in the caption editor.

20181015.340

Updates for Lr8 (Lightroom Classic CC Version 8).

Added the special PP() function to the {LUA} token.

Try to work around a Lightroom bug related to photo timezones and how Lightroom handles accessing plugin data.

Added hierarchical options to the Keywords token.

20181004.339

Added the 'nicknames' modifier to the {People} token.

20180929.338

Added some extra debug logging.

20180921.337

Properly handle album names with double quotes in them.

20180914.336

Fail more gracefully if the user tries to use an auto destination, which this plugin used to support but at the moment doesn't yet have that functionally back after the big API fiasco.

20180911.335

Added the SST1, SST2, and SS3 tokens to the template tokens that the plugin understands.

Sometimes Lightroom loses the "Visit At... " link for a publish collection; dig harder to come up with it anyway.

20180908.334

Fixed (I hope) that users with large numbers of albums/folders weren't getting them all.

Better defense against corrupt login credentials.

Input fields that accept a location can now handle a What3Words code and a Plus Code.

20180826.333

Try to work around a SmugMug issue with updating metadata.

20180825.332

Re-added the ability to create galleries from within the plugin.

Supporting SmugMug's beta API now requires Lr4 or later.

20180809.331

Uploads failed if the photo had an "Altitude" below sea level, or of a fractional meters above sea level. SmugMug doesn't support that.

20180805.330

Yup, the workaround worked in the test case; rolling it out to the rest of the plugin.

20180804.329

Try to work around a bug at SmugMug.

20180804.328

Try to avoid having unexpectedly-long error messages create too-big a dialog.

20180803.327

Update to fix a bug related to improper documentation at SmugMug.

20180730.326

Publish wasn't updating metadata along with the image. Now it's updating all but the Title, which is being a bit stubborn. I'll continue to try to figure that out, but wanted to make this new version available first.

20180728.325

Handle hierarchical albums names again, but this time correctly.

20180727.324

Didn't work properly when you have more than 50 albums; now it does.

20180726.323

Fixed a gallery-list-refresh bug, and added recently-created as an album sort.

20180726.322

Handle hierarchical albums names again.

20180725.321

Switch to using SmugMug's beta APIs.

Updated the PublishCollectionName token to allow numeric arguments along the lines of the CollectionName token.

Added the folowing template tokens: {home}, {desktop}, {temp}, {pictures}, {documents}

Added the 'PCH' variable to the {LUA} tag.

20180512.320

Fixed a bug when 'Token Examples' invoked in certain situations.

Added the IptcDateTaken token.

Clicking on the version number in the Plugin Manager now copies version info to the clipboard

20180305.319

Added the {NonSmartCollectionNames} and {NonSmartCollectionFullNames} tokens to the data templates that my plugins understand.

When encountering catalog corruption, present a better error message.

Added a bunch of token filters: F2D F2S F2X B2D B2S B2X S2X A2D A2S A2X

Updated the Keywords token, and added the KWf function to the {LUA} token.

20171019.318

Oops, more Lr7 stuff.

20171019.317

Updates for Lr7.

20170925.316

Better handle some character-encoding issues related to template tokens.

Allow the "If Exists" feature of template tokns to work with the PluginProperty token.

Update registration support to handle a stupid bug at PayPal that PayPal refuses to fix )-:

20170630.315

Fixed a bug introuded the other day in template tokens, related to Windows filenames.

20170621.314

Added the Newline template token.

Enhanced the FolderName token

Added the "only if it has a value" feature to template tokens.

20170309.313

Added the following tokens to the template tokens that my plugins understand: Artworks, ArtworkTitle, ArtworkCopyright, ArtworkSource, ArtworkCreator, ArtworkDateCreated, ArtworkInventoryNum, ISO8601Date

20170109.312

Oops, yesterday's update caused all photos sent to Twitter to be marked as sensitive.

20170108.311

Retooled to use a new Twitter API, allowing photos not to take up any characters in a tweet.

Switch the log-sending mechanism to https.

20161116.310

SmugMug servers seem to drop requests from time to time, and there's little the plugin can do but report that it got no reply, and suggest the upload be tried again later.

20161109.309

Added the {FilenameNumber} token to the templates that my plugins understand.

Some updates to support Lr2. Lr2 is sufficiently old that I will drop support for it soon.

Added the following tokens to the templates that my plugins understand: FileModYYYY, FileModYY, FileModMM, FileModDD, FileModHH, FileModMIN, FileModSS, FileYYYY, FileYY, FileMM, FileDD, FileHH, FileMIN, FileSS.

Got around a situation where Lighroom would crash duing an export of large images.

Better dialog real-estate managment for the meatadata section.

Fixed a bug with the keyword tables in the LUA token.

Added Weekday, Wday, weekday, and wday to the list of template tokens that my plugins understand.

20160323.308

Fixed an error introduced in the previous update.

20160315.307

Add some debug logging for the photo-association feature.

Fix to get around a Mac display issue with Lr6 on OSX.

Added Russian-langauge support for the People-Support {People} tag.

20160207.306

Added {SpeedKPH} and {SpeedMPH} to the list of template tokens supported by my plugins.

The {People} token wasn't working properly for some keywords without a registered birthday.

Updated Twitter support to better count lengths of tweets that include URLs.

Added ChildOf and DescendantOf filters to the {Keywords} and {KeywordsAll} template tokens.

Fixed a bug with the 'edit saved credentials' dialog.

Try to avoid yet another place where Lightroom gets hung because it can't handle certain kinds of dialogs at the same time.

20150925.305

Moved all SmugMug API interaction to HTTPS.

Updated the Caption part of the dialog to show up to three lines of text, and the full text in the tooltip.

20150517.304

Fixed the "SpecPeople:259: attemt to index al nil value" error.

Clicking on the example caption in the export dialog now brings up a dialog showing the whole example caption, which is useful to see the full thing when it contains multiple lines.

UI fix for OSX 10.9

20150301.303

Photos previously associated manually couldn't have new metadata resent to SmugMug.

20150223.302

Fixed an assert-failure bug that could happen when editing a collection's settings.

20150206.301

In the POODLE-vunerability dialog, display a raw URL of a page on my site that discusses the issue, so that folks can be independently sure that the dialog is indeed from me and not malware.

20150126.300

Added support for the {People} template token, which works in conjunction with my People Support plugin to automatically include in upload captions and the like the names and/or ages of people in a photo.

Updated the camera-name code to try to guess the actual camera model of Hasselblad H5D files, since in their infinite wisdom Hasselblad decided to encode three distinct models with the same internal code, making it impossible to know for sure what camera produced a given image file.

20150104.299

Resending the Caption metadata somehow got broken.

Handle another new URL format in the Plugin-Extras manual-association dialog. (Special thanks to SmugMug engineering for extra support here.)

20150104.298

Fix to the date_diff() function supported by the LUA template token.

The Plugin-Extras dialog to resend metadata could allow the [Resend] button to be pressed when no metadata was selected, resulting in confusion.

20141219.297

Added an "Export Location Override" section to the Publishing Manager dialog (when editing an existing publish service) that allows you to change the Export Location. I don't know why Adobe doesn't let you change it... it seems arbitrary.

Add a help dialog to the publish-services edit dialog to make it clear how to delete a publish-services collection.

Use a compressed view on the Plugin Extras dialog if the screen is not very tall.

Better debug logging of Twitter interaction.

Very long tweet text could break the dialog display.

Don't allow expert when we know ahead of time that the tweet is too long.

If twitter rejects a tweet (e.g. because it's too large), show the tweet and offer to allow the user to edit/resend at twitter.com

When associating a Lr image to a SmugMug image manually, incorporate the actual posted time to SmugMug as the upload time in the photo history in Lr. Also, recognize SmugMug's apparently-new URL format.

Added extra logging to debug why Lightroom might fail to render for export.

Registration was broken on Lr2

20141019.296 Windows Only: Add a one-time check for the POODLE security vulnerability, and alert the user if it exists.
20141015.295 Some extra debug logging for a Publish problem.
20141010.294 Better error reporting with the visit-collection item in Publish.
20140923.293 Added the LrMD5, LrLocalization, LrSystemInfo, and LrMath packages to the {LUA} template token.
20140922.292 When deleting from a publish collection, properly maintain the 'Uploaded to...' metadata field.
20140902.291 New build system
20140802.290

Updated the Twitter support to allow my plugins' template tokens in the tweet text.

Made the {GPSAltitude}, {Altitude}, and {GPSCoordinates} tokens subject to the geo-privacy settings like the other geo-related tokens.

20140731.289 Registration fix for Lr5.6
20140729.288 Previous updates broke support on Lightroom 2
20140720.287 More Creative-Cloud support.
20140715.286

Fixed an issue with Creative-Cloud revalidation.

20140712.285

Lr5.5 and later Creative-Cloud installs can now revalidate themselves if needed.

20140710.284 Sigh, had a bug in the Creative-Cloud support.
20140708.283

Now supports Lr5.5+ Creative-Cloud Installs.

20140704.282 Sigh, introduced an error for some folks with the rebuild the other day.
20140630.281 Build-system update
20140613.280

Added date_diff() and raw_time_diff() functions to the special {LUA} token understood by the plugin.

20140611.279 The plugin wasn't properly reporting SmugMug errors to the user when a gallery-creation attempt failed at SmugMug.
20140605.278

Add a note to the Keyword options to highlight that only exportable keywords are considered.

Set up the ability to reauthenticate to your SmugMug account from the Publishing Manager dialog.

A missing 'automatic destination' could cause the plugin to crash.

20140509.277

Added new tokens to the template language the plugin understands: LrVersion, LrVersionMajor, LrVersionMinor, LrVersionRevision, LrVersionBuild, Location, CatalogName, CatalogPath, OperatingSystem, OS

Added new token filters: NS and LO

20140422.276

Fixed a bug in the "smoother revalidation" stuff recently added.

20140420.275

A workaround for a SmugMug bug related to newlines in captions wasn't working around as much as it should.

20140417.274

Make the revalidation process smoother, especially for folks using Lr5.4 and later.

Fixed a sublocation-related bug in the new geo-privacy stuff.

20140415.273

The {Empty} template token wasn't working properly.

Added the "Recent SmugMug Comment" custom metadata item, which holds the date of the most recent comment for a Published photo, in YYYY-MM-DD format. While in the "Published Photos" section of the Library Grid, you can set the Filter to "Recent SmugMug Comment" and then scroll down to the end to see the most recent dates, and via that see the most-recently commented photos. It's a bit unelegant, but it's the best I can think of within the severe limits of Lightroom's plugin infrastructure.

20140323.271

Added a new "Location Privacy" section to the Exprt/Publish dialogs.

Updated the location-based tokens in the template language the plugin uses — City, State, Country, Location, Latitude, Longitude — to respect new privacy options in the Export/Publish dialogs, and in the resend-metadata dialog. You can override those options on a case-by-case basis with the evenIfPrivate filter.

Added locationIsPrivate variable to the environment available to the LUA token.

Made the "Enable mapping features" option in the album-create dialog actually work.

If you republish a photo mapped to a location newly made private, the location coordinates will be removed at SmugMug.

SmugMug doesn't allow a third-party app like this plugin to update an image's Title (even though they do allow the Caption to be updated). I suppose crippling third-party apps guides folks toward their own tools? No idea why it's this way. I'd hoped it would get fixed, but I can't even get a response from them, so I've gone ahead and removed the Title from the resend-metadata dialog.

20140204.270

Enable a new feature internal to Lr5 for large exports that keeps the CPU from running too far ahead of the upload. Prior to this, Lightroom would go ahead and peg the CPU to pre-render all the images even if they weren't being uploaded at nearly the same speed. Now Lightroom pauses the behind-the-scenes rendering if it has gotten too far ahead of the upload.

20131109.269

A complete overhaul of the "Associate Images Automatically" code (in File > Plugin Extras > SmugMug Extras). It's still a fragile process, but it might work a bit better now.

Added (to File > Plugin Extras) the ability to check the remote status to see whether uploaded photos are still there, and clear out data from the catalog when they are not.

20131011.268

Gave the Publishing Manager UI some attention on Windows.

Added the “:EMBED” token filter to the template language.

20130926.267 Oops, fix a bug introduced in the previous update
20130925.266

Added a bunch of tokens to the preset templates supported: ExportFormat, ExportColorSpace, ExportBitDepth, ExportQuality, ExportSharpeningLevel, ExportSharpeningMedia, IpernityUrl, GoogleDriveUrl, and TumblrUrl.

The token-examples dialog had been broken. Also deprecated Folder and Path tokens in preference to FolderName and FolderPath tokens.

20130909.265

Work around a Lightroom bug concerning the determination of whether a photo is offline.

20130831.264 The "Associate Images Automatically" feature can now be limited to specific photos in Lightroom, and specific galleries at SmugMug.
20130820.263

Better handle very long user account names, so that the [Logout] button doesn't get cut off of the Export dialog.

20130804.262

(No update for SmugMug's redesign, sorry; waiting on API updates from SmugMug)

Made big updates to the "Export with Smart Previews?" section; you can now pick to be asked whether to export via Smart Previews, and can differentiate between when the Smart Previews are "good enough" for an export and when they are not. Moved the its dialog section to a more-logical place in the order.

Fixed the KW/KWE tables in template tokens; they had been broken when using load for the script.

20130701.261

Work around a bug that causes the export-related progress bar to not show up right away.

20130629.260 Added an error report to aid in debugging why publish association might fail.
20130613.259 Better support for plugin revalidation.
20130612.258 Creating a new publish album could sometimes fail
20130611.257 Sigh, previous update for Lr5 broke things for the Lr5 beta.
20130611.256 Yet another Lr5 update
20130610.255 Better logging to try to understand catalog-write-access contention under Lightroom's hood
20130524.254 Apparently, a recent change broke things on Lr2, which some folks apparently still use.
20130520.253

Added the ability in Lr5 to export images even if the master image file is not available, so long as there's a smart preview available.

20130511.252 When creating a publish collection from the context menu, respect the publish service's flat vs. hierarchical naming setting.
20130501.251 Update for Lr5
20130412.250 Fix to the Twitter fix.
20130412.249

Can now have Publish collections renamed to match album names changed at SmugMug.

Sigh, Twitter yet again made an unannounced undocumented change to their API that immediately breaks apps that have worked for years, and doesn't even bother alerting developers after the fact. Lord knows how many developers wasted how many hours trying to debug something that should have been announced on the developer's blog. Days later, it's still not announced there. Twitter is not worse than Facebook, but seems to be trying.

20130328.248

SmugMug seems to have a bug that omits the proper reading of geoencoded locations on some uploaded images, so the plugin now offers the ability to manually send location data.

20130319.247

Export could crash if a too-big-for-the-remote-service video upload was attempted.

Fixed a possible plugin crash in Lr2 that might happen if the remote site's servers are failing.

20130220.246

Added support for some new template tokens: FlagStatus (requires Lr4.1 or later), and for Lr3 and later, a bunch of IPTC extended metadata: AdditionalModelInfo, CodeOfOrgShown, DigImageGUID, Event, ImageSupplierImageId, MinorModelAge, ModelAge, ModelReleaseID, ModelReleaseStatus, NameOfOrgShown, PersonShown, PlusVersion, PropertyReleaseID, PropertyReleaseStatus, and SourceType.

20130214.245 Small fix for Lr2
20130209.244 Update to handle new Twitter url-length settings.
20130206.243 Update the Twitter-related code to handle their new API. Their old API goes away next month.
20130201.242

Added the ability to use "automatic destinations" (the naming of target galleries based upon image metadata) in Publish. It's been in Export for years (as illustrated in this 2008 article on backing up), and you must create the destination presets from Export, but you can now access them in Publish.

Added the ability to set the caption on a one-off basis by just typing it in, avoiding the need to make a preset each time.

A lot of work on the upload datapath, making it more efficient and restoring the ability to retry the attempt on certain errors.

20121203.241 Add a link to the FAQ for the "missing destination cookies" error.
20121112.240 When bailing due to a Windows networking limitation, note the image being processed in the error message.
20121020.239 A recent optimization for Lr4 broke support for Lr2.
20121017.238 Plugin was blocking export due to DPX-video format in some cases where Lightroom didn't allow the format to be changed.
20121014.237 Added a help dialog when encountering the mysterious 'handle in the wrong state' error.
20121010.236 Fixed Twitter authentication.
20121009.235

Workaround for an "attempt to call field 'getProgressScope'" bug introduced in Lr4.2.

Enhance the {EMPTY} template token so that it interrupts the squelching of superfluous joining characters.

20121004.234

Added the ability to create new galleries directly from the Publish Service context menu.

Disallow DPX-format video export, since that totally breaks things.

20120821.232

Updates to the environment in the {LUA} token (in the template tokens in my plugins) to include photoTime() and currentTime(), and other changes to match the updated docs at that link.

.
20120816.231

Wow, it seems some people using Lr2 are still using very old versions of Lr2 that aren't up to snuff feature/bugfix wise. I don't want to support gratuitously old stuff, so I put a minimum of Lr2.6 to use the plugin.

Bail if a network request is too long for Windows.

20120614.229

Twitter support now allows suppressing "Private" geoencoded locations in Lr4.1+

20120607.228 Very slow uploads of very large files in Lr4.1 could cause the new progress bar stuff to blow up.
20120531.227

New upload engine in Lr4.1 that greatly increases the efficiency of large uploads. In Lr4.0 and older versions, upload handling is inefficient and large uploads can crash Lightroom, but from Lr4.1 you can easily upload up to SmugMug's maximums.

With Lr4.1 and later, you also get an upload percent-complete report in the task progress bar, and the ability for upload cancels to take effect immediately.

In Lr4.1 proper (the actual Lr4.1, not the 4.1RCs), the plugin can now know whether a photo's location has been marked as private, so the plugin can now respond to that and exclude the geoencoded location when resending image metadata (via the Plugin-Extras dialog).

Update to handle the Mac App Store version of Lightroom.

20120508.226 Yikes, Lr2 registrations were broken again.
20120430.225

Tweak for Lr4.1RC2.

Fixed the “photo too large to tweet” dialog message, which had been all garbled up.

20120423.224

In prior versions the plugin would explicitly send a geoencoded location along with the image, but with this update it no longer does this in Lr4 because in Lr4 we're ensured that the location is embedded within the image metadata if the user wants it there, and SmugMug will pick it up from that. If the user doesn't want it there (such as having stripped it via a private-location setting), SmugMug won't pick it up and all is good.

Enhanced the send-log dialog to hopefully make reports more meaningful to me, yielding, I hope, the ability to respond more sensibly to more reports.

Added to the template tokens supported by the plugin: {FullMasterFile}, {FullMasterFolder}, {FullExportedFile}, and {FullExportedFolder}.

20120330.223 Update to handle 4.1RC
20120327.222 More graceful handling of videos whose pixel size is not known.
20120309.221

Update to the debug logging to better track down timing issues that might arise.

New phat upload limit at SmugMug.

20120305.220

More for Lr4, and a tweak to the large-upload warning.

20120225.219

Lots more preparation for Lr4 (but still works in Lr2 and Lr3).

Lightroom's internal infrastructure doesn't handle large uploads well, and will most likely crash when trying to upload huge videos, so I've not added a warning and the ability for the user to decide when it kicks in.

Files that are offline are now detected before an export/publish begins, and if there are any, offers the option to abort the export, or just skip the offline ones. This is a lot more clear than the "dng_error_file_not_found" error you get from Lightroom if you follow through with an export attempt of an offline image.

20120221.218 Gallery-create button was sometimes getting lopped off in the Export Dialog.
20120217.217

Discovered why "metadata that triggers a republish" wasn't reliable, and fixed it.

Attempt to prepare for changes Twitter has announced will take place in how they return information about server errors.

More on the march toward Lr4, including upheaval in the code to handle Lightroom APIs being discontinued in Lr4.

Bumped up the minimum Lr3 version to Lr3.5, to ensure we've got those bug fixes. Lr2 and Lr4 are still supported, of course.

Added the {AspectRatio} token to the token templates understood by the plugin, and added the Length=num filter.

20120114.216 More tweaks for Lr4b
20120112.215

Redid the upload code to take advantage of a more efficient upload method that SmugMug added sometime since I first wrote the plugin. This should, in theory, allow the upload of larger videos without the plugin running into memory problems.

Updated limits to SmugVault file size to reflect recent changes at SmugMug.

Removed the “Re-mark as Published” button from the plugin-extras dialog in Lr4, because Lr4 now supports this natively.

Moved the Twitter code over to a new style of Twitter authentication, in hopes that it cures the authentication problems some people have been having.

Moved all access of Twitter to HTTPS.

Removed an obsolete reference to bit.ly from the Twitter help dialog.

Update for Lr4 beta: explain in the plugin manager that the plugin can't be registered in the beta.

20111224.214

Better error handling for video export, and for when images/videos exceed upload limits.

Warn about the need to update the list of albums if it's not been updated for a long time.

I'd had some special handling for a keyword-related Lightroom bug that was fixed in Lr3.5, so I've removed the special workaround processing for that version and later.

Enabled export snapshot creation in Publish.

20111210.213

Updated how the Manual-association dialog is sized.

Had issues with the registration button sometimes not showing.

20111122.212

Include the account id (in addition to the full name that's already there) in the Publishing Manager login section, to allow multiple accounts associated with the same real name to be easily differentiated.

Reporting some errors can create a huge dialog box that can be difficult to close on OSX, so this update adds a [X] button in the upper right of the dialogs.

When doing a plugin upgrade, offer the ability to flush all the old copies of the plugin.

Fix an "attempt to concatenate field 'user_id_string'" error that pops up at rare times.

Added a system-clock check and reports to the user if the system clock is more than a minute out of date. An incorrect system clock can cause problems with various kinds of communication and authentication with some of my plugins, so I've just gone ahead and added this to every plugin.

20111008.211 Publish repopulation could fail with write-gate timeouts.
20111004.210 Plugin would crash in some cases while trying to process Twitter-related settings.
20110925.209 Handle errors more gracefully when attempting to update online comments for photos that no longer exist.
20110903.208

Some internal optimizations to handle large gallery sets.

Added {PluginProperty} to the template tokens used by my plugins.

20110819.207

Added the ability to include a photo when issuing a tweet via Twitter.

Gave the Twitter tweet input UI some attention.

Twitter automatically replaces URLs with their own t.co urls, and the tweet-text character-counter now takes that into account, so pasting in urls of any length now "costs" a fixed amount (currently 19 characters for an HTTP url; 20 characters for an HTTPS url). The plugin no longer uses bit.ly.

Made it so that hitting ENTER while entering a tweet does not actually launch the export. This is a maddeningly-frustrating aspect of the Lightroom plugin infrastructure, but I've worked around it in a way that seems to work.

Fixed "attempt to compare nil with number" error that some users might have gotten in Publish.

20110729.206 The 'refresh list' button was missing from the upload-destination list when it was configured to be a popup menu.
20110712.205 Had a minor plugin-crashing boo-boo in the previous update
20110711.204 Really long captions could cause a stack overflow.
20110708.203 Fix the "Export:663" error some have gotten.
20110706.202 Still struggling with catalog-access issues that seemed to have materialized out of the blue (with a bug in Lr3.4??). This update addresses creating a new publish collection.
20110706.201

The manual-association dialog was too big for some screens... now it auto-adjusts depending on the screen size.

More on the catalog-access errors that some are getting with Lr3.

20110703.200 For Lr2, fixes a 'must be called inside withReadAccessDo' error I'd recently introduced. For Lr3, tries to address a similar error that seems to pop up in rare cases.
20110623.199

Better handle long album names by truncating at the beginning with '...', and having the tooltip be the full name.

20110521.198

Fixing some problems with Lr2 that the comment-refresh thing the other caused.

20110520.197

Fixed a bug that caused the export destination to not properly refresh in response to selecting a preset in the export dialog.

Added a new section to the Publish Service settings dialog, on whether to refresh remote comments (at SmugMug back into Lightroom) automatically or only manually.

Fixed a bug in how some export errors are reported.

Be more robust to errors during the gallery-creation process.

20110419.196

Better reporting when SmugMug is in read-only maintenance mode.

Wasn't properly issuing an error message when used with Lr3.0 and Lr3.2.

20110413.195

Some users were getting "invalid login" when uploading the first time after a long period of inactivity.

20110409.194

Fixed some plugin-crash asserts that some new users might get.

Added "select all" button to Publish collection list.

20110329.193 Added the ability to import data from Adobe's SmugMug plugin, for users who have invested uploads with it but want to give mine a try. Select the images you care about (likely images in the Adobe SmugMug publish service, or just all images in your catalog) and invoke File > SmugMug Extras > Import From Adobe's SmugMug Plugin This has no effect on Adobe's plugin or your data in it... it just performs the "Associate" step noted here. Then, in the Publishing Manager with my SmugMug plugin, you can “populate” (or “repopulate”) the SmugMug galleries represented in the Publish Service in my plugin.
20110329.192 Oops, the button to refresh the list of galleries had inadvertently disappeared.
20110324.191

Added the ability to sort the album list in the Publishing Manger

Previous build was broken under Lr2, and some Lr3 installs.

20110322.189

Added the ability to create new SmugMug galleries from within the publish manager.

Added support for uploading videos.

Added the ability to select which metadata items cause a Publish republish.

The list of upload destinations was sometimes getting cut off.

20110227.188 Still trying to get the manual association stuff working with custom domains.
20110226.187 Turns out that with the manual association, using a url with capitalization in the hostname breaks things, so now the hostname is forcibly downcased. If you'd manually associated urls with hostnames that include upper case, you'll have to redo them, sorry.
20110225.186 Repopulation broke in one of the recent updates... fixed. Also added some notes to remind that "association" merely tells Lightroom where an image is at SmugMug; if you want the image to magically appear in a Publish Collection, you must "repopulate" in the Publishing Manager.
20110209.185

Giving a try to a manual option to associate images already at SmugMug with catalog photos. See “Associate Images Manually“ in the Plugin-Extras dialog (“File > Plugin Extras > SmugMug Extras”).

Also giving a shot at more support for pro photographers with an “Import Client Favorites from SmugMug” button on the plugin-extras dialog. This taps into their Pro-only Event Marketing stuff, whereby a client can “favorite” photos in a special (possibly private) event gallery: a Lightroom collection is created with the favorited photos. I'd like to hear whether anyone finds this useful.

Removed from the upload-destination list any gallery in the “Event Favorites” and “My SmugMug Creations” categories, since it never makes sense to upload new photos to them directly.

Added a progress dialog to the “Re-mark as Published” operation, so that it can be canceled, and to make it clear that something is going on under the hood.

Fixed a bug whereby one couldn't export via preset to an account different from the currently-logged in account.

20110121.184

Added “Re-Mark as Published” to the Plugin-Extras dialog (“File > Plugin Extras > SmugMug Extras”). If you have published photos in the “Modified Photos to Re-Publish” grid segment, this moves them back to “Published Photos” without actually uploading anything to SmugMug. You might use this after making what you know to be a metadata-only change that won't affect how the image is shown at SmugMug.

20110117.183

Added Twitter support to Publish.

Fixed a problem such that long album names caused buttons to become inaccessible in the export dialog.

Not sure what happened to the export dialog since I last checked it in Windows, but it was in need of some UI love.

20110113.182

This version no longer works in Lr3.0 and Lr3.2 because many bugs have been fixed in Lr3.3: if you're using Lr3.0 or Lr3.2, please visit Lightroom's Help > Check for Updates to download the free update from Adobe. (The plugin also continues to work in Lr2.)

Added {CroppedWidth} and {CroppedHeight} to the template tokens used by my plugins.

Add a note of instruction to handle a (rare) situation where one needs to reauthenticate in the normal Export Dialog in order to get a Publish Service working again.

20101217.181 Updated Twitter support for Twitter's new API endpoints
20101124.180

Added support for photo comments in Publish.

Fixed a crash sometimes encountered while updating remote-account data in the plugin.

20101116.179 Quiet an errant error dialog that popped up (but didn't otherwise bother anything) while creating a new publish service.
20101112.178

Check whether galleries at SmugMug have been renamed from when publish-service collections were created, and prompt the user with a note that the renaming can be incorporated into Lightroom by enabling the “Forcefully rename current collections” option.

Replaced an ugly debug message that popped up when the plugin detected that a publish-service collection's related gallery at SmugMug has been removed from SmugMug, with a more user-friendly message.

20101104.177

Publish was sometimes getting stuck in a 'not logged in' state, if you hadn't refreshed your account data in the plugin for too long a time. Not sure why I might have built it that way, but I took off the time limit so now it shouldn't get stuck anymore. Wish I understood why I'd put it in in the first place, though. )-:

Warn about the loss of metadata if the “resize to megapixels” option is used.

Fixes “Spec:343: attempt to index field '?' (a nil value)” error some were getting

20100829.176 Made the revalidation process much simpler, doing away with the silly need for a revalidation file.
20100820.175 Discovered a bug in my plugin build system that caused horribly difficult-to-track-down errors in one plugin, so am pushing out rebuilt versions of all plugins just in case.
20100812.174

Updated SmugMug logo and branding at their request.

Added code to allow plugin revalidation after having been locked due to a bad Lightroom serial number.

20100726.173

Added an interactive filter to the gallery list in Publish; it'll show up if there are more than 10 galleries. Only galleries whose names match all the (space-separated) terms in the filter are shown.

Added the {KeywordsAll} template tag.

A few users found some photos to always be “stuck” as Modified photos in a Publish collection. I'm still not 100% what might be going on and can't replicate the issue myself, but this version of the plugin tries some things to hopefully alleviate the problem.

20100721.172 Arrgh, the whole send-or-don't-resend metadata thing was ridiculous, so I redid it all. Exports with publish always resend metadata (keywords, captions, geoencoding), and now with regular exports you can choose whether to resend metadata.
20100720.171 Caption wasn't getting updated during a re-publish.
20100717.170 During repopulation and association, I wasn't taking into account SmugMug Smart Galleries or collected photos. Do now.
20100715.169 There was a bug on Windows that caused the warning about potentially-excessive JPEG quality settings to lock up Lightroom for an indeterminate amount of time. Only way I could fix it was to move the warning to the metadata management section (where it doesn't belong as much as it doesn't belong where it was before, but Lightroom doesn't let me put it where it should go, next to the jpeg-quality slider). This also allowed me to put it back into Publish.
20100715.168 Yikes, the JPEG-quality thing I added didn't play well with Publish. Removing it from Publish 'till I figure out a better way.
20100712.167

Fixed a few problems with the new Refresh Remote Urls”, such as one that caused it to not play nicely with the support mentioned in the note 20100708.166 (that was pushed after 20100708.166 went live, so I wasn't able to actually test it). If it worked for you the first time there's no need to rerun it, but if it had failed with some error, this might fix it.

The plugin has long remembered your export settings from SmugMug export session to SmugMug export session, overriding Lightroom's desire to always bring your recent export settings from non-SmugMug exports. However, I had neglected to update the list of settings for Lightroom 3, so this is now corrected, and so the plugin now also remembers watermarking settings, file-renaming and photo-stacking, and DNG compatibility.

Clarified that the “delete all copies previously uploaded” option applies to, well, all copies previously uploaded, as opposed to some magic subset of copies previously uploaded that you might have fixed in mind.

Added a warning that blocks export when the JPEG quality is set needlessly high, referring users to my Analysis of Lightroom JPEG Export Quality Settings. You can bypass the warning if you like, and hide it forever, of course.

20100708.166

Did a lot of work to revamp the ability to tie in photos already at SmugMug into your Lightroom catalog (and hence to populate a SmugMug publish service), working around bugs in Lightroom, and working in new knowledge of to best work with SmugMug. See the new publish docs for details.

One warning, though. Ostensibly the new “Refresh Remote Urls” step will notice when a photo has been deleted at SmugMug and remove its information from the catalog (and, if the photo is part of a Publish Service, mark it to be republished), but support for this required an update from SmugMug, and that update isn't scheduled to go live until sometime on the evening of the US West coast's July 9, so if you give this Refresh bit a whirl before then, give it another run on July 10th.

Fixed a bug with the auto-destination dialog.

Egads, the list of albums in the Publish Service dialog was not sorted.

20100702.165

Discovered some rare and complex bugs related to collection renaming, and (I hope) fixed them.

Be more graceful when SmugMug or an intermediary web proxy returns a web page when the plugin is expecting data.

20100630.164

Finally pushing the new version out of plugin beta (where it has been for a couple of weeks), after eight months of oft-painful development. It's extremely complex under the hood, so now that it's getting wider user and additional bugs are shaken out, there will likely be frequent updates... please keep an eye on the version history when you update.

Here are the update details from when it was in beta:

20100614.154 — This version can be registered in Lightroom 3. It can run in Lightroom 2 or Lightroom 3; it does not work in the Lr3 betas.

It uses my new registration system when run on Lightroom 3, which avoids some of the silly issues of the old one. Please take care to note the details on the registration page: use of this version (or later) of the plugin in Lightroom 3 requires a new registration code, even if you had registered some older version of the plugin.

Lots and lots of changes under the hood, including publish support in Lr3.

Added some options to the Twitter <dest options> special code: add simple as an option to have it become just the name without quotes or other adornment; add short to par down the gallery name to just the leaf name. They can be combined, e.g. <dest short simple>. Or, use <dest id> for just the photoset id.

Added some stuff to the LUA template token: a version of the standard os table (with date, difftime, getenv, es and time), and the standard Lightroom SDK tables LrDate, LrPathUtils, and LrStringUtils). Also added a new functions TBL() (returns an empty table), ne(item) (returns true if the item is not empty), and nb(item) (returns true if the item is not blank; " " is blank but not empty, while "" and nil are both blank and empty).

20100615.155 — Handle custom domains during image-association.

20100621.156 — The image association stuff was broken. Still will be for some users... added warning about Lr catalog timeout bug.

20100624.157 — Some bug fixes and some great new debug logging.

20100624.158 — Discovered a nasty build bug; pushing a new version in case it affects this plugin.

20100625.159 — Yikes, shaking out some more build issues.

20100628.160 — Had broken auto destinations.

20100629.161 — Various fixes, including handling virtual copies (created on images uploaded with this version or later). Also fixed smart published collections, which became broken a version or two back.

20100629.162 — Lots of changes. Bolstered the separation between Publish and non-Publish exports.

20100629.163 — Lots more changes, especially related to auto destinations and replacing images. Identified that “Import Smart Collection Settings” does not work for Publish, and corrupts things. Don't use it.

20100323.153

Removed some LR3-related debugging stuff that's showing up now that LR3b2 is out. All plugin-related things should work in LR3b2 except Publish, which will likely change drasticly between now and when LR3 is actually released.

New when running LR3b2 is a new “Snapshots on Export” section, which is basically a built-in version of this new plugin.

Added new tokens to the templates used in my plugins: IfKeyword and IfExportedKeyword are supported for LR2 and later. For LR3b1 and later the very powerful LUA token, and for LR3b2 and later, a bunch of new localized date/time tokens. See the templates page for details.

20100315.151

Wholesale changes that attempt to honor the user's locale settings for numeric display (e.g. Europeans writing 3,14156 for pi). I've probably missed some spots, so let me know if you find some.

Some small UI cleanup in the create-album section.

Added three new tokens to the templates that my plugins use, CameraName, IfGeoencoded, and Keywords. See the templates page for details.

20100224.150

Finally figured out the album-creation stuff with respect to quick settings... quick settings will now actually take precedence.

Fixed the LR3b publish “deletePhotosFromRemoteCollection” issue, but please note that all bets are off with Publish and things will certainly change in the future in ways I can't predict... current Publish collections may cease to work. LR3b is a beta.

20100219.149 Fixes a “disappearing export dialog sections” bug that recently surfaced.
20100216.148 Oops, somewhere along the lines broke the SmugVault-status reporting. Fixed.
20100211.147 More support for users with custom domains.
20100210.146

Yikes, broke exports for LR3b in the previous push, sorry! Fixed.

Changed the semantics of the Places filter (in the tokens understood by the preset templates of my plugins) in two ways: if applied to a string value rather than a number, it works on the first number found in the string. Another is that you can now use something like Places=-1 to round to the 10s, Places=-2 to round to the 100s, etc.

20100208.145

Hacked in a way to create a gallery on the fly during export... it's now an option in the list of export destinations.

Caption presets weren't getting saved across LR restarts in some cases (for definitions of “some” meaning “all”, sorry).

20100205.144

Oops, the upload date/time custom metadata items were swapped. Doh! With this new version, each catalog will auto-update to correct the issue the first time it's loaded. The format used for the date and time are restricted in LR2 to whatever I've chosen, but the first time you load the plugin in the real LR3 (whenever it comes out), the catalog will update itself again to write the dates/times in your user-customized, localized format.

Fixed the {GPSAltitude} template token so that it should now actually work.

20100203.143

The whole do/don't send keywords thing was sort of kludgy, so I redid the UI to make what's happening more apparent.

Lots of updates to the Twitter support:

  • Better tweet-size estimates in line with recent processing changes at Twitter.
  • Added <caption> tag to the tweet-text template (it use the caption from the first image exported).
  • Added the ability to geotag tweets with a static location, or with the geoencoded location of the first image. A static location can be specified with a latitude, longitude pair, a geohash, or a url from a mapping service like Google, Yahoo, or Bing. On the encoded side, geodata embedded in the image can be used, or the geodata maintained by my geoencoding-support plugin).
  • You can now configure the plugin to shorten URLs via your own bit.ly account, in case you want to track click-throughs yourself.
  • You can now specify that you want all URLs shortened. The default remains to shorten them only when required to get under the 140-character limit. You might, for example, want to forcefully shorten them all in conjunction with your own bit.ly account, for click-through tracking.
  • The plugin now goes to great lengths to report whether a tweet is accepted by Twitter. In their infinite wisdom, the folks at Twitter suddenly decided to start ignoring long tweets instead of truncating them, but (here's the brilliant part) they still report back to the plugin that the tweet was successful. Sigh.

    Furthermore, they might also ignore (yet report as successful) other kinds of tweets, such as those that are a repeat of a “too recent” tweet. Those crafty folks at Twitter implemented these changes more than three months ago, but in a truly cunning move, they still detail the old behavior in their API documentation, making no mention whatsoever about how their service now actually works.

    Only by doing a bunch of extra work can the plugin detect whether a tweet was accepted or ignored. If ignored, there's no way for the plugin to know why, so at this point it merely reports that the tweet didn't go through.

20100201.142

Fixed the sub-category processing. SmugMug pushed an XML change the other day that my stuff should have handled, but due to a mistake on my part, it didn't. Does now.

Also, by request from SmugMug, the plugin also now sends keywords in a different format than earlier versions. Let me know if you notice any problems.

20100127.141

Completely changed how the one-click upgrade applies the newly-downloaded zip file, in the hopes that it'll work for more people. Rather than unzipping over the old copy, it now unzips to a temporary folder, then moves the old folder out of the way and the new folder into place. Prior versions' folders are now maintained (with the version number in the folder) in case you want to revert a version; you may want to clear them out from time to time. Of course, it won't take affect until you try to upgrade after having upgraded to or beyond this version.

Added the ability to control whether to send a Twitter tweet with photo keywords.

Caught a few more LR3b issues.

SmugMug seems to have fixed the upload-timeout bug that plagued the service last year, so removing some warnings related to that.

20100118.140 Added two new template tokens, {DaysSince} and {PhotoDaysSince}. They're a bit tricky, but could be useful.
20091230.139 Added a “Repopulate URLs” button to the Plugin Extras dialog, to allow correcting for the bug fixed in the previous push, and to correct for photos uploaded with old versions of the plugin.
20091230.138 Sigh, it seems 30,000+ lines of code are getting to be hard to keep track of, and I unintentionally removed the exported url from the custom metadata (from the 'At SmugMug' item) a few versions back. This should fix it, at least for images uploaded from now.
20091230.137 Replaced the “quick setting” item in the Auto Destination dialog... it had gotten removed inadvertently sometime in the past few updates. Sorry 'bout that.
20091216.136

Figured out when the “AgExportSession.photoExportSequence is obsolete; use photoIdExportSequence instead” error was coming from. A bug in LR3 beta. I had to disable the export filter for the beta to avoid this.

Fixed some of the album-creation stuff that was broken by mistake in a push earlier this week.

20091215.135 Allow changing the font size of list of upload destinations. Those with long names might want to choose a smaller size to allow more text to fit on each row.
20091214.134 Added the special {NOJOINERS} token to the Template Language understood by my plugins.
20091209.133 A few small fixes for LR3b, and tweaks to the extra-keywords stuff do tidy up repeated keywords in the display.
20091205.132 Minor internal debugging tweaks.
20091126.131 Fixed a bug introduced in the previous version, that caused uploads to fail if image filenames happened to have certain (unlucky in this case) characters.
20091124.130 Implemented a change requested by SmugMug that may help speed up uploads. Also reworked the change pushed in .115, putting back the color-space selector but disabling export if it's not sRGB (unless you're sending non-JPG to SmugVault, of course). The end effect is that you still can't send sRGB JPGs, but now users can see the color-space selector and be comforted that yes, it's being sent as sRGB.
20091118.128 Added an {Altitude} item to the templates understood by the plugin. It's the numeric altitude in meters, as opposed to the {GPSAltitude} item which is a description of the altitude along the lines of 32.7 m. Also updated the Places filter so that it can be used on fields that merely begin with a number.
20091115.127 Fixed an error that prevented resending image metadata via the Plugin Extras menu.
20091111.126 Added the {#} token to the caption stuff, a number that starts at 1 with the first image exported and goes up one with each additional. Use multiple “#&$8221; to force a zero-padded number to at least that many digits. Also added some debugging stuff to help the SSH (SmugMug Support Heroes) debug the “wrong format” errors some users run into.
20091023.125 A bunch of UI fixes for LR3b, such as fixing the scrollbar and the token-examples dialog.
20091022.124 Added a first draft of some rudimentary support for Lightroom 3 Beta. See this important note about plugin support in Lightroom 3 Beta and Lightroom 3, including future plans for features and my registration system.
20091019.123 Oops, recently-created galleries are sorting as if they're the oldest due to a silly bug on my part that's fixed in this push.
20091014.122 Added “skip all”/“upload all” options to the “what to do with this oversized image?” dialog, and to the “SmugMug: Metadata Management” section of the Export Dialog.
20090921.121 Added basic SmugVault support, allowing you to upload the master raw files (and any XMP sidecar, for non-DNG raw files) along with the JPGs being exported.
20090916.120

Some UI tweaks earlier in the month had an unintended side effect of breaking the “choose destination at export time” feature. Sorry... fixed! Also, added some prose to make it more clear that the “create gallery” part of the choose-destination-at-export-time dialog is not part of the export process, but merely a tool placed there for the convenience of those wishing to create a new gallery just prior to exporting.

(Sorry to everyone who couldn't contact my server for the last few days... it had “issues”, that are now fixed.)

20090912.118 Add a note in the Export Dialog about what “replace” actually does. Updated the export-time “choose export destination” dialog to disallow export after a name has been entered into the create-a-new-gallery name box, to make it clear that the new-gallery-creation operation is separate from the export.
20090908.117 Fixed some keyword-related issues. First, due to a silly bug on my part, there had been an artificial limit on the number of keywords sent. Second, also due to a bug on my part, the keyword order was scrambled. The plugin now sends them in the order Lightroom provides them (which seems to be alphabetic, though it looks like SmugMug does not honor the order on display, so perhaps this was for naught).
20090907.116 Added the ability to password-protect a gallery as you create it (in the SmugMug Tools section of the dialog), and gave that section some design TLC to make it easier to use.
20090902.115 I'm back from a long trip and starting up the plugin machinery again. This is a simple update that should not affect most people: uploads of JPGs now must be in the sRGB color space. I'm pushing this change at SmugMug's direct request, because they convert everything to sRGB anyway, and they worry that this conversion could account for some delays and timeouts some users have experienced as of late.
20090723.114 Another oops, fixing an “undefined global” bug I think I introduced yesterday.
20090722.113 Oops, turns out that subcategories didn't come along with the change in version .110, so this push restores them.
20090716.112 Sigh, Twitter engineers treat developers like a bunch of twits. Twitter just made a sudden, unannounced, and undocumented change to how they allow external applications like this plugin to connect to Twitter, breaking every external application out there. If a plugin follows the Twitter documentation, it will not work. I couldn't believe Twitter engineers could be so inexperienced or hostile (which?) the first time they pulled a stunt like this, but again? This is ridiculous... are there kids running the shop over there? If they do this again, I may just yank Twitter support from the plugins... it's not worth the frustration. For the time being, this push should fix things.
20090714.111

Fix how I process the “wrong format” errors from SmugMug so that it makes more sense in more situations. There's still a bug at SmugMug such that they sometimes return this error when the image is simply too large (they're supposed to quietly downsize the image for you), but they're looking into it for us.

Small UI change: I now note your SmugMug account level in the top section of the Export Dialog.

20090713.110

Added the ability to resend metadata (caption, keywords, and geo-coordinates) for photos previously uploaded to SmugMug. See the File > Plugin-Extras > SmugMug Extras dialog.

To accommodate the metadata refresh, I had to change how I contact SmugMug (moving from their 1.2.0 API to their 1.2.2 beta API), and it's entirely possible that I missed some small change in how I must send requests or interpret results, so please send a log (with the “Send to Jeffrey” button in the upper-right of the plugin manager) if you run into anything odd....

20090711.109

Added colon as a joining character for the squelching stuff mentioned in the previous release.

Fixed, perhaps, an “Attempt to perform arithmetic on a nil value” error that might appear during export. (I was never able to reproduce the problem, but saw something in the code that could have caused it, so tidied that up.)

20090703.108

Completely rewrote how the “extra keyword to send...” line is parsed. It could sometimes be a bit wonky, especially when template tokens were used, but hopefully it's more solid now. (Hopefully I didn't just move the bugs around; it's a touchy area of code.)

Speaking of the template tokens, I added a bunch more somewhat esoteric things, filling out all the metadata items available to the plugin. Something like “Workflow Job Identifier” might not be all that useful, but if you repurpose a field with my metadata-viewer preset builder plugin, these otherwise esoteric items may prove to be useful. For example, I've relabeled the Job Identifier field as “Blog Url” in my custom view, and can now use the {JobIdentifier} token to refer to it.

I redid all the code on squelching joining characters to make more sense (I hope), and included <br> and friends (e.g. <br/>) as special joining characters that should magically do the right thing. I also added a colon as a joining character. I haven't gotten a chance to update the Templates page with these changes, but I will soon. (If you find something that doesn't seem to work, let me know with specific examples.)

Tidied up some Mac-related dialog layout problems associated with the “upload anyway” option added in the previous version.

Enhanced the one-click upgrade stuff quite a bit, now detecting ahead of time when it will fail because the plugin is installed where Lightroom can't write (if Lightroom can't write to it, it can't update itself). I also added a progress bar, and now download in smaller chunks to avoid 'out of memory' errors on the larger plugins. Do remember that this new functionality becomes available after you upgrade to or past this version, when you then upgrade with it.

20090629.107

Added an “upload anyway” option for when an image is too large for your SmugMug account level (too large in bytes or pixels). SmugMug lets you upload them, but it'll downsize them quietly if they exceed the limits, and you'll lose the original that you uploaded. (Your master image in Lightroom remains unchanged, of course.) The new option is at the bottom of the #8220;SmugMug: Metadata Management” section of the Export Dialog.

If that option is not enabled and an image is too large, a dialog pops up asking whether to cancel the export or skip the image. Now, it also gives you the option to upload anyway.

Added still more logging to try to figure out the upload-destination fiasco thing.

Fixed that during an upload of a single image, the progress-bar status didn't reflect when the image was being uploaded (it said “rendering...” the whole time).

Reflect that SmugVault users can now upload up to 600MB files (it had been 512MB last time I checked.)

Added a couple of defensive error checks: if SmugMug returns a “Wrong Format” error because the full image wasn't uploaded, I change the error message to the more understandable “Upload did not complete... is your Internet connection having issues?”. I also try to detect some of the weird error messages that the OS returns when a firewall blocks Lightroom from using the Internet. You'd be shocked to hear how much time I spend telling people “check your firewall and enable an exception for Lightroom...”. Hopefully this'll stem that stream.

20090616.106 Sigh, this upload-destination fiasco is a real pain. Maybe have it nailed down this time.
20090615.105 Some people are still having images uploaded to the wrong album, and I'm starting to think that it's a case of corrupt Lightroom preferences. I've looked at some logs and it seems to be a case of “this can't possibly happen” happening. I've added something in this version that kills some old information with prejudice.... if this doesn't take care of it, please send a log again (via the “Send to Jeffrey” button in the upper-right of the plugin manager), but I suspect my reply will be to ask you to blast your LR preferences file and start over.
20090614.104 Sigh, it turns out that a few days ago, Twitter suddenly changed authentication methods in a way that was guaranteed to break every strong-authentication application (such as this plugin). Sigh. This update handles the new authentication style, and includes better error reporting for the next time they pull a stunt like this.
20090611.103 It turns out, despite SmugMug's old API documentation to the contrary, album quick settings are available to all users, not just Power/Pro, so I've updated the plugin to match that. Also, better error reporting if the plugin wasn't able to contact Twitter during authentication.
20090607.102 Still trying to figure out why a small subset of users find that their uploads go to the wrong gallery, so in this push have added more debugging toward that end.
20090605.101 Oops, fixed an “Access to undefined global” error that popped up when trying to clear uploaded-to-SmugMug data via the SmugMug-Extras menu.
20090605.100

A few things for this 100th update of the Lightroom 2 version of this plugin....

1) Added a couple of new custom metadata fields, “SmugMug Upload Date”, and “Upload Time”. The former can be used in the Library Grid Filter to sort/select/filter by the date you uploaded to SmugMug.

Because the new custom fields mean a change to the database, the first time you load this new version, Lightroom will pop up a dialog asking “Update catalog for plug-in?” to which you'll want to answer yes (“Update”). Then a progress bar will show up and, if you have a lot of photos in your catalog that had been uploaded to SmugMug, will just sit there for potentially several minutes, looking stuck. Just let it work. For my catalog with 48,000 photos, it took about 5 minutes.

I'll add these to my Metadata-Viewer Preset Editor plugin soon, but for those maintaining their own viewer tagsets, these can be found at info.regex.lightroom.export.smugmug2.uploadDate and ....uploadTime.

2)Finally fixed the progress bar during upload.

3)Added a bunch of options to the gallery-creation stuff in the “SmugMug Tools” section of the export dialog. (If you make a variety of gallery types often, you'll probably want to make your own Quick Settings, since they override all the options here and include many other options not yet included here.) I didn't add every gallery option (there are a bazillion of them!) – I just picked the low-hanging fruit– so let me know if I missed some that are important to you.

20090602.99 Sigh, small bug fix for the new Twitter stuff.
20090602.98

Well, here's something new: Twitter support. It may be a bit iffy, mostly because I don't use Twitter myself, so perhaps I've missed something about the culture in which it's used, but I've added something that allows you to send a tweet after a successful upload, with a mini template language that allows you to include a photo url or destination-set url in the tweet.

The plugin uses Twitter's new strong secure authentication, so you don't even have to tell the plugin your username or password. You authenticate at Twitter and grant the plugin application permission to send tweets on your behalf.

A note to fellow developers, who will feel my pain: in order to get this strong-secure authentication support working, I had to code up SHA-1 Secure Hash computation from scratch, in pure Lua... a horrid language, I'll remind you, that has absolutely no bitwise operations, or even integer support. No masks, no bitwise xors, no way to test bits or shift words or any of that stuff. As I coded it, I felt as if I were chiseling NAND gates from rough blocks of silicon.

I felt quite the achievement once I got it working, but only then realized that I also need to code up my own HMAC-SHA1 secure signature routine. It's less involved than the original SHA-1 stuff, but again, filled with bytewise xors. Fun stuff, in a very old-school way.

This release also contains some extra logging to try to get to the bottom of a problem that a few users have reported, namely, that their uploads don't go into the galleries they specify.

20090521.97 Sorry, another quick bugfix. It seems an internal change I made to try to get around a bug in Lightroom wasn't quite ready for prime time. Hope it is now.
20090521.96

Fixed a “loadstring” error some users got.

You can now use the scroll wheel with the scrollable lists (such as for the gallery list)... sort of. It works while the mouse is actually hovering over the scroll bar. That's the best I can figure out so far... it's better than nothing if you're a scroll-wheel user.

Added some new token filters to the preset templates used for things like extra keywords and image captions: They're listed in the docs, but include new items like UCFirst capitalize first character of the item, or LC to lower-case the entire item. For example, if you want to include the city as an extra tag, but prefer your tags to be all lower case, you might use {City:LC} in the extra-tag dialog.

20090519.95 Fixed an album-creation bug I introduced in a previous version.
20090518.94 Somewhere along the way the plugin stopped updating the progress bar as it worked. I've restored it, so now you can see it inch along as the uploads complete. I also included some stuff to communicate with the next version of my Metadata Wrangler plugin help coordinate a canceled export. Unfortunately, if you cancel an export, Lightroom does not tell filters like the Metadata Wrangler, so it blindly continues trying to process images that will not show up. I've added some hooks here to help the next version of the Metadata Wrangler detect a canceled export and not complain. It's imperfect, but I'm hoping it'll help.
20090510.93 Added a link in the Plugin Manager to the plugin's update-log RSS feed.
20090509.92

Added items to the title/description presets: ZenfolioUrl, FlickrUrl, and PicasawebUrl. If you have previously uploaded this image to one of those sites with my plugin that uploads to those sites, you can refer to that copy of the image by reference. Using the tag alone, e.g. {ZenfolioUrl}, it becomes the raw url, or nothing if the image wasn't previously uploaded. Using a =text argument inside the tag turns it into a link with the given text, e.g.

    See the {ZenfolioUrl=photo at Zenfolio}.

becomes:

    See the <a href='...'>photo at Zenfolio</a>.

if the url is known. If the url is not known, the tag is replaced with nothingness, so you might want to include a “|...” fallback section, such as:

    See the {ZenfolioUrl=photo at Zenfolio|"photo at <a href='http://myname.zenfolio.com'>my Zenfolio site</a>"}.

The entire double-quoted part after the "|" is used when what comes before ends up being empty. In this case, that double-quoted part is some text that includes a link to a Zenfolio user's home page (you'd want to put yours, of course). So, if the url isn't known, the entry becomes

    See the photo at <a href='http://myname.zenfolio.com'>my Zenfolio site</a>.
20090508.91 SmugMug has fixed the bug that I worked around in the previous version, so this undoes that workaround.
20090504.90 There's a bug in how SmugMug returns data to the plugin, or in my understanding of what's supposed to happen, that causes some accented characters in gallery names to appear as HTML entities. I rewrote how I parse the data they return, and inserted code to work around this issue (manually decoding the entities I know about). Let me know if you run into gallery names (or anything else) that doesn't display properly.
20090429.89 Fixed a bug that could potentially crashed the plugin while editing caption/title and auto-destination presets.
20090425.88 Tweaked how the plugin tries to update itself during the one-click upgrade process, to hopefully get things working for those few Windows users that have never had it work. Crossing fingers. We'll see.
20090422.87 Fixed the caption preset stuff to disallow editing of the built-in caption presets, and added a note to that effect in the preset editor. I also reset the 'None' preset to an empty value, just in case it had gotten edited in a prior version of the plugin. Sorry it took so long to get around to this fix.
20090422.86 A few minor housekeeping updates: the 'enable enhanced debugging' checkbox in the Plugin Manager now turns on logging of all web traffic. It'll be useful if I ask you to send a log, but you probably want to leave it turned off during general use. I also added an icon to the registration page to reinforce what plugin is being registered.
20090403.85

Corrected the photo-date related items in the preset templates to properly use the dateTimeOriginal metadata field, rather than the edit-time dateTime field. It now uses the first of the following that it finds with a value: dateTimeOriginal, dateTimeDigitized, and dateTime. This bug was reported to me long ago, but I let it slip through the cracks, sorry.

20090331.84 Added scroll-one-line arrows to the top and bottom of the scrollbars, to allow fine-grained control of scrolling very long lists. (I've been programming for almost 30 years, but this is the first time I've ever built a graphical scrolling system from scratch, so I may be a bit slow on the uptake at times 🙂 )
20090327.83

Turns out that there's a bug in Lightroom that causes login names to be rejected if they can't actually fit in the input box that's presented when trying to log into a second account. To get around this bug for the few who run into it, I've made the box as wide as I can... I hope it's sufficient.

20090325.82

Big UI changes in some areas. I've cobbled together a way to add what appears to be a real scrollbar, so I've replaced the kludgey scrolling solution I had before. It seems to work okay.

I also changed the “Token Examples” dialog from paging to use the new scroll stuff.

20090313.81

It seems that PayPal doesn't give everyone a “Unique Transaction ID” in the registration confirmation mail; some people get a “Receipt Number”. So, the registration dialog now accepts that as well.

I also removed the “Resolution value to record in metadata” control in the Metadata Management section. That had dated back to a time when the resolution setting was not available in the standard “Image Sizing” section of the export dialog, and I forgot to remove my custom one when the standard setting appeared. It was sort of silly having two controls for the same thing, sorry.

The resolution setting is still utterly meaningless unless you use it to actually compute the pixel size of the image (that is, if you have the “resize to” setting to something other than “pixels”). Once the image has been created, it's just a hint about how you intend it to be rendered when printed, but it has exactly zero impact on the quality that can or can't be achieved when printing.

20090310.80 I've added a popup dialog that appears the first time you install this plugin that explains how to activate it from the Export Dialog. It's currently not very “discoverable” (in UI lingo), and it leaves a lot of people befuddled. I hope this helps to stem the flow of “I can't get it to work” messages I get each day. I've begged Adobe to tweak the UI to make it more clear in the future.
20090305.79 Fixed a bug that caused the plugin to crash (and stay crashed across Lightroom restarts, even!) when deleting the caption preset that was actually chosen for the caption.
20090303.78 If there's an error calculating the automatic destination for a photo, now actually reports that error instead of just crashing
20090302.77 Fixed a bug that could cause the plugin to crash when using the File > Plugin Extras
20090228.76 Fixed a bug that caused a plugin crash if my server couldn't be reached during registration.
20090225.75

As per the ongoing discussion on my blog, with this version this plugin moves over to a “donationware” model, in which the plugin remains free, but registration eventually becomes required (and an eventual donation hoped for 🙂 ).

For details, see Lightroom Plugin Development: Now With Added Encouragement. (For info about what drove this decision, see What To Do When a Hobby Becomes Work?)

The plugin no longer expires, and correspondingly, I will not pay much attention to reports of bugs that have already been fixed, so please check your version and the version history before submitting bugs or feature requests.

There was a lot of internal upheaval in the code, so I expect that some boo-boos my surface. If something breaks for you with this version, please let me know, but until I fix it, feel free to revert to the previous version.

One enhancement in this release: I realized that the image caption can actually be HTML, so I now allow for that in the Export dialog.

20090219.74 Sigh, I need to slow down and test these things better before pushing them out. Sorry, it's been a tumultuous week. This version fixes a few stupid bugs stupidly introduced in the last stupid update.
20090219.73 Some UI tweaks for the multi-login feature added yesterday. More robust error reporting if an export is attempted without an Internet connection.
20090218.72

Feature added per request of one of the SmugMug founders: can now easily switch among multiple SmugMug accounts.

20090217.71

The folks at SmugMug pointed out an error in how I was uploading to their servers that might explain a “bad album id” that a couple of users have reported. Also, some UI tweaks.

20090215.70

Woohoo!!! Fixed the “badServerResponse” error!!!!

Wow, it was frustrating. A bunch of people kindly sent logs and network traces, and but I couldn't find a clue in them as to the cause of the problem.

However, with the help of tech-savvy Alabama-based photographer Kevin King, I was able to isolate and work around the problem.

Kevin really went the extra mile here, running network traces, sending me logs and photos and catalogs, running at least a half-dozen debug builds of the plugin and reporting back as I tried different things that might lead to a clue. Eventually one did, and Kevin confirmed a final-fix build, so here we are.

For what it's worth, there is a bug in either Lightroom or Windows related to HTTP traffic headers. I've reported it in detail to Adobe.

NOTE: The automatic upgrade may have trouble upgrading to or beyond this from a version prior to this, so if it doesn't work for you, please just blast (or rename) the old “jfriedl-smugmug.lrplugin” plugin, and download/unzip/install manually. (I wish Adobe would officially support automatic upgrade, but until then, the works-usually system I've cobbled together will have to do)

20090210.68

Fixed a bug on my side that on rare occasions resulted in an “invalid session id” error, and another that sometimes resulted in a “wrong format” error.

20090130.67 SmugMug was suddenly denying my plugin's API key, which (of course) caused all kinds of problems. Making it worse is that I didn't have good error checking, so the reason for the problem wasn't apparent until I dug into it. While adding better error checking, SmugMug suddenly started accepting the API key, so things seem to be working now. This build has more (better?) error checking, and so if the problem happens again, hopefully things will be more clear. One concern, though, is that perhaps I've become too aggressive on checking for error replies from SmugMug (some “errors” really aren't errors, and should be ignored), so let me know if things are not smooth.
20090129.66 Small housekeeping update for the new locales supported by Lightroom 2.3. Added more info to the debugging log when an export operation begins, to help diagnose any subsequent problems with the export.
20090126.65 The new scrollable-list stuff didn't deal with ampersands very well... things should be better now. Also added tooltips to the list items so that the full text can be read even if the display is cut short, although ampersands may appear in duplicate (or quadruplicate, depending on the OS)... it just wasn't worth the effort to get ampersands right in the tooltip.
20090126.64 Fixed a couple of spelling errors.
20090120.63 Addressed a strange error (“strange error” is a euphemism for “condition I don't fully understand”) that could cause a “photohistory: not logged in” error. I think this happened when you got logged out while uploading, but I'm not sure exactly how that could happen. I also added some extra debugging stuff to help clarify whether it's a multi-threading issue.
20090119.62

Okay, so I spent the entire weekend working on my own scrollable-list control from scratch, because the built-in popup menu is just not very easy to work with when one has a lot of galleries. I didn't have much to work with, and the result is a bit wonky, but it's much more usable when the list is long, so I'm throwing it out there. If you don't have a long list of export destinations, you can revert back to the original via the “configure list appearance” button. With that button you can also change how much of the list is shown at once, to suit your personal preference.

20090116.61 It turns out that the automatic upgrade stuff doesn't work if the plugin folder has been renamed from its original. That should generally not happen, but it's possible, so the plugin now checks its own location reports the issue to the user if it finds it.
20090115.60 Added more debugging-log stuff to the 'Upgrade Now' button action, to try to understand why it doesn't work for some people.
20090115.59 Added a 'click here to change the export destination' note to the masthead image, because some new users are confused how to change export destinations.
20090110.58 Added a checkbox in the Plugin Manager to turn on enhanced debugging (more stuff in the plugin's debugging log), and added a button in the same place that sends your log to me. Particularly for “the upgrade button doesn't work” and “error while uploading” type issues, this should be useful for debugging.
20090108.57 I've discovered multiple Lightroom bugs (one on Windows, two on OSX) that caused problems with captions that contained multiple lines and/or non-ASCII data. The plugin now detects captions that will cause platform-specific problems, and gets around the problem by omitting the caption during the initial upload, and then immediately setting it via a different method that actually works. I've also reported the bugs to Adobe.
20081228.56 My preset dialog (for caption presets) was a bit wonky and didn't update itself when a preset was added. Fixed that. Also, in the export dialog proper, the example text next to the preset dropdown didn't auto-expand as the preset was changed. Fixed that, too.
20081226.55 The version number had lost its way in life. Setting it straight. 20081224.* -- The “Extras” item in the File menu had stopped working. Works now. 20081223.* -- Bumping back the expiration date.
20081208.52 Fixed a problem that sometimes caused errors during login/authentication, or after logging out.
20081204.51 Try to work around a fairly rare Lightroom bug that sometimes causes large exports to fail with the note Whoa, exported image doesn't exist after waitForRender 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.
20081127.50 The counting of previous uploads (for the All/Update/New of the Upload Destination section) was not working right.
20081125.49 Another fix for a bug that had disabled plugin presets (for captions, etc.)
20081124.48 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.
20081123.47 Fixed a plugin crash when using the plugin's built-in preset system.
20081122.46 No problems from the upheaval recently, so pushing back the expiration a bit.
20081117.45 Oops, wouldn't let you log in / authenticate if you weren't already. Doh. Fixed.
20081117.44 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 email) the log referenced in the upper-right of the Plugin Manager. Thanks.
20081114.43 Fixed a “attempt to compare string with number” bug.
20081113.42 Fixed yet another list-of-upload-destinations bug. There are sure a lot of edge cases here.
20081111.41 Fixed a crash that happened sometimes when there are not yet any preexisting destinations at SmugMug.
20081104.40 Perhaps squelch a spurious error dialog
20081103.39 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.
20081031.38 Now works properly with the shadow GPS data maintained by my geoencoding plugin.
20081027.37 Added some extra debugging code to try to track down some of the asserts that a few users have been getting.
20081024.36 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 Metadata Wrangler. 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 fix is applied.)
20081022.35 Addressed (and perhaps even fixed) a bug introduced in the previous build.
20081021.34

The “replace” functionality now works even when the target image had been deleted at SmugMug. There is a bug with the SmugMug API that was causing this to fail, but despite that bug still existing, I now implement the replace functionality using a different API method that SmugMug added at my request. (If you use the “replace” mechanism, give SmugMug some love for having done this.)

Small update so that a stuck background version check does not disable the plugin.

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 template language that had inexplicably been missing: {HH}, {MIN}, {hh}, {min}, {ss}.

20081015.33 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(?)
20080924.32

I created a “Metadata Management” section in the dialog, and moved some things into that from other sections.

Fixed a race condition that sometimes caused the export destination to not appear in the synopsis of a closed “Upload Destination” dialog section.

Also fixed an issue whereby doing a “replace” would abort when the image previously uploaded to SmugMug was no longer present at SmugMug. 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.) Occasionally, a “replace” of a image still results in an abort due to a problem that I've reported to SmugMug.

Moved the items in the “Upload Management” section into the “Upload Destination” section, since they are really quite related.

20080923.31 Sigh, just realized that the “check for new version” stuff did break in 2.1. Totally my fault, sorry. Fixed.
20080921.30 Oops, the ability to use my template tokens in the 'extra keyword/tags' area, that I added last week, didn't actually recompute the tags on a per-image basis, applying the tags computed for the first image to all the others. That's now fixed, and tags are recomputed with each image.
20080920.29 Enhanced the {Rating} token to allow {Rating=*} to create "*****" through "". You can put most anything instead of the asterisk, so you might consider {Rating=great } 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": {Rating=*|"unrated"}
20080918.28 Added the ability to use template tokens like {Filename} in the "extra tags" input box.
20080916.27

Pushing some untested support for gallery-creation quick settings. I wrote this a few weeks ago, but may never push it if I wait to test it fully, so I'll just push it and let those of you who know SmugMug better test it for me 🙂

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

20080916.26 Finally have the upgrade button working on both Win and Mac. Since I returned home 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: I hate Windows. 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 next upgrade that should be easy-as-click.
20080914.25 Added a few more descriptive tooltips to the example-token dialog
20080914.24 Oops, fixed a boo-boo introduced in the previous version.
20080914.23 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.
20080914.22 Fixed tokens “OriginalWidth” and “OriginalHeight” in templates. Added a bunch of new template tokens 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).
20080905.21 Fixed an “undefined global: DestinationSynopsis” error that could happen when using a preset with a “select at export time” upload-destination setting
20080831.20 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
20080829.19 Added a bunch of new items to the template language.
20080829.18 Oops, left some debugging cruft that results in an “empty” dialog if the logged-in-user has no galleries or the like. Fixed.
20080828.17 Minor tweaks
20080828.16 A few more tweaks to report a failed upgrade attempt a bit more clearly
20080828.15 Whoo-hoo, finally figured out the “assert” problem that some people without galleries were having. When upgrading, ignore a status of “50” (which means “out of disk space”) 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.
20080827.14 Fixed the Caption {Filetype} token (was broken for DNGs). Made some Layout tweaks in my preset dialogs. Added titles to the tools sections (were missing on OSX)
20080817.13 A few cosmetic changes to the auto-destination dialog.
20080816.12 Sigh, left some debugging stuff in there that prohibited the auto-destination stuff from actually working. Sorry for the version churn.
20080816.11 I spent tons of time wrestling with the “Auto Destinations” feature, which I'd never really done properly for SmugMug. It seems to work now. Lots of little tweaks as I cleaned things up. Added a bunch of stuff to the Plugin Manager, including a “What's New” button that shows up next to the “Upgrade Now” button when a new version is available.
20080814.10 Fixed infinite cycle of 'assert' messages one might get in odd situations
20080812.9 Fixes (I hope) a “bad argument #1 to '?' (table expected, got nil)” error
20080811.8 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.
20080806.7 Fixed {State} and {Rating} in preset templates.
20080805.6 Oops, the Windows versions had lost the ability to upgrade themselves. Once this version is installed manually, subsequent versions should be able to upgrade as discussed here.
20080804.5 Fixed “Access to undefined global: LrError” error that happens when trying to report a login-related problem.
20080804.4 Fixed a couple of internal errors related to the “choose destination at time of export” feature
20080804.3 Handle the fact that the upload-size limit for SmugVault users is half a gig.
There were also some changes under the hood related to logins and Lightroom Export presets. These changes shouldn't have any noticeable effect... unless I introduced a bug. We'll see....
20080804.2 Should now work with SmugVault.
20080729.1 Initial public release. (The version of this plugin for Lr1 is here; its initial release was “20071121.1”)

The 30 most-recent comments (out of 486; see all), most recent last...

Hi Jeffery,
Using lightroom 6.6.1, I experienced some troubles with the smugmug plug-in (3.0.9): upload very slow and more and more errors of the type “image not found” by uploading. After downgrading the lightroom as well as the plug-in version without success, I decided to end up with deleting my smugmug publication account from lightroom and loading it again.
Since this operation uploading pictures is ok. However in this operation I lost the parameters of all my smart galleries and synchronization of modified pictures seems not to work as well as before.
Do the plug-in locally store the parameters of the smugmug account and is there a way to restore a version of my smugmug account before the troubles occurred? Depending of the location, I may have some backups of my hard drives.
Thanks.

It sounds like you’re working with someone’s else’s Smugmug Plugin, not mine. In general, errors that suddenly pop up are often temporary issues at SmugMug, so changing things around on the Lightroom side doesn’t do anything (except perhaps filling your time until the error is fixed at SmugMug). Publish Service data is usually sorted in the Lightroom catalog. —Jeffrey

— comment by Xavier D on September 17th, 2016 at 6:43pm JST (2 years, 2 months ago) comment permalink

Just installed your Lightroom to SmugMug plugin. It doesn’t seem to be syncing and I can’t find the sync button. I’ve tried “repopulate all now”, not sure what that means. It goes through some process of writing to the catalogue but still when I click on a gallery listed in the jf SmugMug Publishing Service in the LR Library module, no photos are listed.

The “Repopulate” feature tries to bring in photos that the plugin knows have already been uploaded to SmugMug into an appropriate collection within a Publish Service. It’d perhaps be useful if you’d been using the plugin for years when Adobe introduced Publish. If you’re new to the plugin, you might try the “claiming” step. It often works well, but can be fragile and not work well for some data sets. —Jeffrey

— comment by Bob Trlin on October 25th, 2016 at 10:20am JST (2 years ago) comment permalink

How can I disable sending any keyword to smugmug?
I did not check the mark “include keywords …” under SmugMug: Metadata Management – but all keywords are send to smugmug anyway.

They also inspect the uploaded JPEG for metadata, so you should not include them there (or strip them on the way out). You could mark each keyword to not be exported, suppress all metadata, or strip them with my Metadata Wrangler plugin. —Jeffrey

— comment by Bernd on February 6th, 2017 at 1:36am JST (1 year, 9 months ago) comment permalink

Hello jeff, I am from New Zealand. Have been a long time user of your Lightroom plugin for Smugmug.
Today I head there to upload some images from LR and I’m told “nil plugin is not installed or working properly”.
My plugin manager says “not saved”.
Was working fine a couple of days ago, or so.

Can you please tell nme what I can do to restore the plugin.
Thank you,
Brian

You might have deleted the plugin files. Just download them again, unzip, and put them where you had them before (or put them where you want them to live on your system and re-point the Plugin Manager at them via the [Add] button). —Jeffrey

— comment by Brian Scantlebury on March 28th, 2017 at 12:54pm JST (1 year, 8 months ago) comment permalink

Thought I’d responded to your suggestion.
I’ve have done that 2x, have also deleted toe original and re-loaded, still no joy. it may be me, but I have used it for many years successfully.
What else can I try please.

It may be that your Lightroom Preferences have gone corrupt… that causes all kinds of strange things. See this FAQ. —Jeffrey

— comment by Brian Scantlebury on April 1st, 2017 at 7:45am JST (1 year, 7 months ago) comment permalink

Two things:
1. for the past two days I’ve had problems with the (your) SmugMug Plug-In (up-to-date LR CC, Windows 10) in that during about every other “Publish Now” action the plugin crashes and says “Cannot connect to SmugMug, Internet connection down?”. It may or may not have uploaded some of the photos marked to be published. After reloading the plugin it works a couple more times and then crashes again. The uploads varied in size from 15-150 photos.

2. recently I’ve renamed a couple of existing keywords. What I’ve noticed on SmugMug is that the old keyword is not removed from the photo – now the SM photos have both the old and the new versions of the keyword. Is this a plug-in issue or a SmugMug issue (or perhaps my issue…)?

Thanks, Sara

About the first, the plugin is just reporting the situation it finds itself in… connections to SmugMug are failing. This could be anything from iffy wifi on your side, to server problems on their side, to any number of issues in between (your OS, your router, your ISP, etc.). If the plugin can’t connect, it can’t connect. It telling you that is not “crashing”, it’s reporting the situation. As for the second, it’s certainly not your fault. It seems like a SmugMug issue to me, but to be sure, perhaps send a plugin log the next time you notice it, being sure to include the public URL of an image at SmugMug, along with a list of exact keywords that you think should not be there. —Jeffrey

— comment by Sara H. on April 27th, 2017 at 4:22pm JST (1 year, 7 months ago) comment permalink

Hi Jeffrey. I’m amazed by your range of plugins and at the moment particularly interested in your SmugMug plug-in. Is the “publish a smart collection” feature unique to your plug-in, or does it also exist in the “official” SmugMug plug-in? (Sorry if this question sounds rude but I’m after a plug-in which is as simple as possible but which still serves my needs)
Many thanks,
Paul

“Smart Collections” are a basic feature of Lightroom, so any Publish plugin should support them. Last I looked, SmugMug’s plugin was much simpler than mine, so is probably the one you want. —Jeffrey

— comment by Paul Fertig on September 3rd, 2017 at 4:40pm JST (1 year, 2 months ago) comment permalink

From New Zealand, have been using the Lightroom/smugmug plugin for years, juts apgraded to LR Classic CC and lost the plugin, but can’t re-install. I get the pop-up sy’ An error occurred while reading the schema for reading the plugin “jf smugmug”. The plugin will be disabled”

Can’t work out how to get past it, and to get the plugin back. Help please.

I’m guessing that you had the plugin files sitting in Lightroom’s app area, and that got cleared out during the upgrade. To fix, re-install the plugin from scratch, but make sure to save the plugin to some place that lives across Lightroom upgrades, such as a “Lightroom Plugins” folder you create in your “Documents” folder. After unzipping the download and moving the plugin there, point the Plugin Manager at it and you’ll be fine. —Jeffrey

— comment by Brian Scantlebury on October 21st, 2017 at 5:48am JST (1 year ago) comment permalink

Jeffrey –

I love your plugins, and have used the SmugMug publication one in particular for many years.

Lately, I’m starting to publish two versions of a gallery – one that contains small versions of the pictures (good for email, web posting, etc. – less than 500kb) and one containing the full resolution jpegs (e.g. 8mb). I do this because the files downloaded from SmugMug by clients (using a download password, not purchased downloads) come as the full resolution files, and clients often don’t have the knowledge, software or desire to convert files to smaller sizes for non-printing use.

Do you have any suggestions for how to best use your plugins to accomplish this? I’ve tried keeping everything in one “publication service”, and changing export settings as needed, as well as setting up a publication service for each resolution/file size. In either case, I have smart galleries that pull in the appropriate photos, so a given photo shows up in both the small file size and the full resolution galleries.

The “multiple publication service” option takes away the need to remember to change publication settings, but one drawback I’ve run into with either setup is that the photo metadata only stores the address of the last gallery in which the photo was published. I just wanted to check with you to see if you had any suggestions for a better way to do this, perhaps in combination with some of your other plugins.

Thanks for all the work and support you do to make Lightroom better!
Jon

I’m afraid that I don’t have a better idea, sorry. The “multiple publication service” version is what Lightroom intends, and is what I, personally, would use in a case like this. —Jeffrey

— comment by Jon Ripsom on October 24th, 2017 at 7:45am JST (1 year ago) comment permalink

Hi Jeff,
Last week I updated to the new LR Classic. I found that because of the rewrite, your Smugmug plug in will not work and I needed to get the update and reregister. I did so and did a Paypal contribution. I have not received a new registration code and the plugin update will be expiring soon. When can I get the new registration code?

Thanks.

The registration code is included on the PayPal confirmation screen/email, as illustrated here —Jeffry

— comment by Jeff Krueger on November 2nd, 2017 at 6:09am JST (1 year ago) comment permalink

Hi Jeffrey,

I’m redownloading your plugins after installing Lightroom Classic 7, and noticed that I also needed to reinstall the official SmugMug plugin.

Alas, the link you provide at the top of this page is kaput—I went to the SmugMug support page and it pointed me here: https://exchange.adobe.com/addons/products/1755#.WkQnjiOZPdQ

Thanks for all the great plugins! Today I’m visiting from Austin, Texas (my parents’ home) but normally I’m in Albany, CA.

Victor

Thanks, I’ve updated the link. —Jeffrey

— comment by Victor Gavenda on December 28th, 2017 at 8:14am JST (10 months, 17 days ago) comment permalink

Hi Jeffrey; calling from Melbourne Australia.

Have been using the SmugMug plugin for many years but recently noticed it is ignoring the “Remove Person Info” Metadata option. The keywords in question are marked in LR as Person Keywords but they are being registered with SmugMug in any case. The other Metadata settings are All Metadata and other switches are not selected. Any thoughts on how to fix this?

Thanks,
Alan

If you’re referring to this Lightroom bug, you can get around it with my Metadata Wrangler plugin. Merely including it as an active part of an export/publish should work around the bug. —Jeffrey

— comment by Alan Fieldus on February 11th, 2018 at 10:07am JST (9 months, 3 days ago) comment permalink

From NC. Running latest version (installed today) 20180512.320

Cannot create Smugmug Album (bad reply from Smugmug)
Created gallery via Smugmug and then tried to repopulate plugin’s list, got a popup with “bad html” and a bunch of HTML code.

Running on Win7 64

Thanks!

SmugMug was probably having temporary “issues”, though it could also be something in between you and them hijacking Lightroom’s web connection (such as some kind of overactive antivirus/firewall app). If it persists, please send a plugin log and I’ll take a look. —Jeffrey

— comment by Bob Powell on June 12th, 2018 at 1:04am JST (5 months, 3 days ago) comment permalink

Been using the Smugmug plugin, but in last few days it has not been working.
I’m getting this message headed
Unexpected HTML reply from Smugmug and a page or gobbly-guuk.

Have tried re- signing on to smugmug and d=checked have the latest version.

What else can I do please,
Thank you,
Brian
From New Zealand.

Yikes, I see now that they announced something a month ago that just took effect, disabling plugin access. I’ll dig in and try to get a new version out soon. —Jeffrey

— comment by brian on June 12th, 2018 at 12:17pm JST (5 months, 2 days ago) comment permalink

Hi, while waiting for the Smugmug fix, is it OK to manually upload to Smugmug? Can I just refresh the albums with the plugin when it’s available? Thanks.

Refreshing the list of albums will work, but getting individual photos linked up (via File > Plugin Extras > SmugMug Extras > Associate) is a fragile, hit-n-miss operation… it might work fine, but might not. )-: —Jeffrey

— comment by Bill on June 20th, 2018 at 5:43am JST (4 months, 24 days ago) comment permalink

Any update on the “unexpected HTML” reply from Smugmug? I’ve been using the plugin happily for years and hope to continue. Thanks for all your work!

If you’d like to test an updated version of the plugin, please see this page —Jeffrey

— comment by R Kell on July 27th, 2018 at 3:55am JST (3 months, 19 days ago) comment permalink

Trying the smugmug-20180728.325.zip update (thanks for the work on this). While image updates get published OK, updates to metadata (keywords & processed values for title/caption) do not get updated when changed after initial publication. Get same behaviour both in gallery created in old version and updated and in newly published gallery. Regards & Thanks.

Oh, good catch. I’ve put out a new version that mostly fixes this, but I can’t quite get the Title to update, so that’s still not fixed. I’ve reached out to SmugMug for help. —Jeffrey

— comment by Ian Hardy on July 31st, 2018 at 7:23am JST (3 months, 14 days ago) comment permalink

Jeffrey, I cannot authenticate to SmugMug from my desktop system. Last night (7/30/18) I was able to authenticate on my laptop system but I stopped the process when I saw it wanted to verify against my lightroom catalog for some reason. Not sure why.

This morning I loaded the new plug-in on my 2013 Mac Pro. I reloaded the plug-in and then attempted to authenticate. I was successfully vectored to the authentication page on SmugMug. I was then shown a page that said that was successful and in 2 seconds I would be returned to Lightroom.

That did not happen. The page hung there for minutes.

Perhaps authenticating on the laptop messed with this process?

The two authentication attempts would not influence each other, so it’s not that. The “after 2 seconds” thing really is just two seconds, and it tells your system to go back to Lightroom, but it sounds like your system’s Lightroom handler isn’t registered properly. A reinstall of the Lightroom app should fix that. About the “verify against my lightroom catalog”, I don’t understand what that might refer to. —Jeffrey

— comment by Adam Bridge on August 1st, 2018 at 1:56am JST (3 months, 14 days ago) comment permalink

Jeffrey,
I just downloaded and installed the new Lightroom Smugmug plugin and went through the authentication process which worked just fine. I did a test upload to Smugmug using your plugin and it worked as it had in te past before the recent issue.

What I noticed however is there is no Create New Gallery option in your plugin like there used to be. The only choices I saw anyway were to select from already existing galleries. Am I missing something?

Thanks,
Jeff

That’s one of the features mentioned that will return later, once the dust settles. Until then, you can create it at SmugMug then refresh the gallery list in the plugin. Sorry for the hassles. —Jeffrey

— comment by Jeff Krueger on August 1st, 2018 at 8:37am JST (3 months, 13 days ago) comment permalink

Update to my previous error/bug report earlier today

Now when I check for latest version in the Plug-in Manager screen in Lightroom it is saying I have the latest.

But it is still returning an error when I attempt to reauthenticate from the Lightroom Publishing Manager screen for the plugin. After taking me to the web browser authentication page at Smugmug, it returns to Lightroom, spits out a big html doc with the ‘unexpected html reply” error warning and then when I close that it returns another error box saying “ERROR/ SmugMug login aborted: Canceled”. The system doesn’t lockup now.

Please send a plugin log the next time you encounter this. —Jeffrey

— comment by RKell on August 3rd, 2018 at 6:17am JST (3 months, 11 days ago) comment permalink

Hello Jeffrey,
As an update to my error message from yesterday (re: version 20180805.330), I have found a workaround but I’m not sure if its really a good idea. As I said in my mail, any time I try to re-publish modified photos, the photo name in SmugMug is replaced with “unknown” and then after 10 photos at the most there’s a plugin error. I discovered that when I delete the entire gallery contents from the SmugMug organizer and mark the gallery to republish, then it republishes with no problems.
I also tried selecting the photos in one gallery and refreshing the URLs and then republishing. Refreshing the URLs worked but on the republish there was an error after one photo and now it shows as “unknown” in SM.
The plugin log was 500MB so I though better than to send it. 🙂

Thanks, Sara

There are still a few issues at SmugMug that I’m waiting to hear from them about. I guess there really is a good reason why the API is still in beta. )-: —Jeffrey

— comment by Sara Hedgpeth on August 7th, 2018 at 12:04am JST (3 months, 8 days ago) comment permalink

Thanks for getting the Smugmug plugin working again!

— comment by Bob Powell on August 20th, 2018 at 1:26am JST (2 months, 26 days ago) comment permalink

Just discovered your treasure trove of plugins – fantastic work!

Question about the SmugMug one specifically – how can I create a new gallery from within the Plugin / Lightroom interface? I only seem to be able to sync to an existing gallery on SmugMug.

The create-gallery feature will come back after a while, once all the updates from the recent big change shake out. —Jeffrey

— comment by Tim Hocking on August 21st, 2018 at 9:34am JST (2 months, 24 days ago) comment permalink

I see you’ve published a fix for the Smugmug mess earlier. I just installed your new version, 20180826.333. My plan was to add a gallery to an existing folder (the last folder I added). The folder exists on Smugmug. It shows in the plugin’s list of galleries, but it doesn’t show in the list of published galleries in the “Edit Settings” panel. Which means I can’t add a gallery to it. How do I get it back in the list of published galleries?

In addition, I keep losing my Smugmug authorization and having to reauthorize. I never had this problem before. Every time I try to do anything I have to re-grant permission to the plugin to access Smugmug, and when I open the “Edit settings” dialog the list of published galleries is blank. This is probably the REAL problem. Any suggestions?
Karen Ivy

For the first thing, there’s a “refresh list” near the album list in the Publish Settings. The second issue sounds as if your Lr Preferences are going bad, or maybe your catalog is corrupt internally. Check the the link included here, and perhaps check the integrity of your catalog. —Jeffrey

— comment by Karen Ivy on September 4th, 2018 at 6:45am JST (2 months, 10 days ago) comment permalink

Using the latest LR (7.5) and the latest plugin (Version 20180826.333). I have the same problem as Karen Ivy. For the first month or so (and several versions) of the new API plugin folder refreshing worked fine, but now (probably as of the latest), it refreshes, but only gets about 20% of my folders. It does always get the most recent galleries within a folder. I have MANY MANY galleries. 1000s probably. Many of them are in folders by years and I add 3-4 a week so 2017 would have maybe 200 galleries. This goes back for nearly a decade. Each year populates in about 10-15 galleries now. But 2 weeks ago they were all coming in (roughly 200 per year). This means that I can’t go back and upload more photos to most old galleries (which I do periodically). I’d have to get lucky. Folder refresh time did drop drastically though, as did the time to open the plugin panel (which was very long for the first few new API revs — it was fine under the old API).

I’ve just discovered that this is an issue with my plugin and how it’s working with SmugMug’s Beta API. My bad. I’ve just pushed out a fix. —Jeffrey

— comment by Andrew Gavin on September 7th, 2018 at 6:35am JST (2 months, 7 days ago) comment permalink

Jeffrey, thanks for the response. I did in fact try the Refresh List button and it didn’t help. I’ve realized I left out a critical piece of information: my copy of Lightroom is backleveled, I’m running ver. 5.7. Since it normally does just what I want, I haven’t upgraded to 7.5 – I was going to ask if I needed to but Andrew Gavin’s post suggests it might not help. What do you think?

I’ll look into corrupt preferences; I do back my catalog up every time I exit Lightroom.

Karen Ivy

I doubt that whatever issue you’re facing is due to the version of Lightroom, so I don’t think that upgrading would matter with this issue. —Jeffrey

— comment by Karen Ivy on September 8th, 2018 at 9:37am JST (2 months, 6 days ago) comment permalink

I think your latest plugin update, smugmug-20180908.334, has taken care of my problem – all the galleries are there. I stay authenticated to Smugmug. And I was able to create the new gallery I wanted to do, in the new Smugmug folder that it wasn’t picking up! I was even able to do “install and download” on the new plugin, even though when I tried to do that with the smugmug-20180826.333 version it crashed and I had to install manually.

Nice work, and thank you.
Karen Ivy

— comment by Karen Ivy on September 11th, 2018 at 1:25pm JST (2 months, 3 days ago) comment permalink

Lightroom: 8, plugin: smugmug-20181015.340
I like the new ‘:H’ hierarchical option to the ‘Keywords’ keyword. However, this does not return keyword synonyms like the standard ‘Keywords’, would it be possible to add this as an option, ideally with a different separator?
You give an example ‘{Keywords:H= >> }’, used in the definition for ‘Title’, this results in the text ‘>&gt’ appearing in the ‘Title’ when displaying the exported photo in Smugmug. Is it possible to escape the ‘>’ character so that it gets displayed correctly?
Any progress in fixing the problem of changes to the ‘Title’ (keywords forming the title) not getting updated in Smugmug when they are changed after the initial export of the photo (a problem since version 2 of smugmug API?
Thanks Ian Hardy

SmugMug engineers have stopped responding to my mail, so I don’t know what’s going on with the title thing. I reported clearly what seemed to be a bug with their system, then radio silence. I’ve sent a few “are you there?” messages, but nothing. Not much I can do until they reply.

The tokens can be used in many contexts; if you’re using them in a context that will be interpreted as HTML, you should escape things yourself accordingly.

I’ll take a look at synonyms. —Jeffrey

— comment by Ian Hardy on October 17th, 2018 at 6:18am JST (4 weeks ago) comment permalink

Hey Jeffrey,

Do you think that we’ll ever see a fix for the republish issue where the filename gets replaced with “unknown”?
Several times a day I have to delete files on Smugmug first, then republish in order to avoid this. Kind of makes the plugin unnecessary if every time I change an image I have to do this.

Thanks!

Mark

I share your frustration. As a SmugMug customer, perhaps you could ask them to respond to my queries for help. They were responsive in the summer, then just suddenly stopped responding, leaving this issue hanging. —Jeffrey

— comment by Mark Tassoni on October 19th, 2018 at 2:03am JST (3 weeks, 6 days ago) comment permalink

Hello Jeffrey,

FYI, I’ve posted another request for help in the DGRIN forum re the above problem. Maybe the product manager will shake the engineer tree a bit so they’ll answer your mails.

It’s driving me nuts not to be able to update any photos.

Cheers,

Sara

— comment by Sara on October 23rd, 2018 at 5:58pm JST (3 weeks, 1 day ago) comment permalink
Leave a comment...

See the known issues before reporting bugs. Also, when reporting bugs, please include the OS, the version number of Lightroom, and the version number of the plugin. PLEASE REPORT THE NAME AND FULL VERSION NUMBER OF THE PLUGIN WITH EVERY REPORT. Seriously. I need the full version number or I likely can't do anything but ignore the message.


All comments are invisible to others until Jeffrey approves them.

Please mention what part of the world you're writing from, if you don't mind. It's always interesting to see where people are visiting from.


You can use basic HTML; be sure to close tags properly.

Subscribe without commenting