Lightroom 1 Export Plugin for SmugMug
This page is for the old Lightroom-Version-1 version of this plugin. Go here for the current version.

Initial Preview  ·  Install Instructions  ·  “Piglets” (Plugin Extensions)  ·  SmugMug

DOWNLOAD smugmug-20080717.48.zip
(version history is below)

Some users on Windows get a FormatMessageW failed error when uploading with this or other plugins. Most users don't get it, but those that do seem to get it often.

If you get it, you may find a solution at Alexander Kiel's blog.

Version History

20080717.48Handle more gracefully "down for maintenance" and "invalid login" respnses from SmugMug.
20080714.47Minor tweaks
20080702.46Some changes that might allow SmugVault users to upload their raw files.... I don't have SmugVault, so can't test it. We'll see.
20080613.45A couple of small bug fixes that might help this run in the 2.0 beta a bit better.
20080606.44

This version has extra debugging to try to help me figure out why some users are having upload problems... problems that I can't replicate. Also, it moves the plugin debug log to the Documents / My Documents folder.

Mac Users: if you get an error when you try to install the plugin, something along the lines of "this plugin is already installed or not compatible with your version of Lightroom", please see the install instructions and manually remove the previously-installed version(s). If that still doesn't let you install the new version by clicking, then manually install it. I have no idea why this is happening, so if someone figures it out, please let me know.

20080603.43Debug/Testing build
20080523.42Grafting in the caption-management stuff that I've been working on for the 2.0 versions of the plugins. See description here.
20080516.41Small fix to handle an upcoming change at SmugMug.
20080411.40Fix for the "_update_status" bug that those few who export non-sRGB JPGs ran into.
20080319.39"FormatMessageW" errors caused by newlines in comments have been fixed. Thanks to David Underhill for identifying the bug and supplying a fix. "FormatMessageW" is a general “something went wrong during the upload” error. Most users who get it are probably affected by Windows networking issues for which Alexander Kiel's suggestion is a more likely candidate, but if you have newlines in your captions, you'll want the fix in today's new plugin build.
20080314.38Minor update to allow the plugin to work with Lightroom 1.4.
20080221.37Fixed “Visit destination gallery after upload” feature, which was broken by a recent SmugMug API change.
Minor UI tweaks for better appearance on a Mac.
Updated Swedish translation.
20080217.36
  • Updated French translation.
  • Now includes a Swedish translation by Niklas Sjöström.
  • Renamed “Extra tags” to “Extra keywords” to reflect the SmugMug vernacular.
  • Fixed a bug related to the choose-gallery-at-time-of-export feature
20080209.35Updated the SmugMug interaction code to match some security upgrades that broke the plugin. New French translation file.

Includes New version (20080206.5) of my Run Any Command piglet, which allows for more translation.

20080202.34

Refactored a bunch of the destination-gallery-related code — could have introduced some bugs.

You can now create a destination gallery when using a preset where the destination is marked “select at export”.

Includes New version (20080130.4) of my Run Any Command piglet.

Fix (perhaps) for an LrHttpDebug bug introduced in .30

20080128.33Tidied up some mistakes in the translation hooks. Interested in doing the translations for my plugins for your favorite language? It's a difficult and thankless job, but you earn good karma for giving to the greater community. If interested, please contact me (jfriedl‍@‍yahoo.com).
20080123.32Fix "internal error" bug introduced in previous build, that affected those upgrading from several versions back.
20080122.31Added "Run Any Command" Piglet.
Some internal refactoring to better support the piglet infrastructure.
20080117.30Have export dialog allow file types that any enabled piglets allow. Bail if the resulting filename has an extension that can't be uploaded.
20080115.29Added the piglet manager for fourth-party add-ons
20080109.28Doh, properly escape usernames and passwords during login authentication.
20080109.27New and tidied French translation
20080107.26Housekeeping changes to allow auto-install on OSX
20080104.25Using a preset with a destination gallery set to "ask at export" no longer limits the selections to those that existed at the time the preset was created. Due to my coding bug, the gallery-refresh I intended never happened; it does now. Thanks to Ben Pharr for reporting the error.
20071227.24Updated French translation
20071222.23Ensure that a long login status message does not crowd out the logout button
20071217.22Update to the caption logic. Properly handle a no-gallery situation. New French translation file.
20071213.21fix bug introduced in .19
20071213.20new French translation file
20071213.19Can now filter the export so that only images previously exported to SmugMug will be processed, or, conversely, only images that have not been previously exported to SmugMug.
20071212.18Minor internationalization prep.
20071210.17More internationalization prep. Added a first draft of a French translation, courtesy of Gilles Theophile. (Contact him with any suggested changes.)
20071205.16Now supports subcategories. Can sort the gallery list by title or recentness. Can now export the original master file. Can now note an image resolution in pixels per inch/cm in the image metadata.
20071204.15More internationalization prep.
20071204.14Fixed keywording.
Added the ability to enter extra keywords in either SmugMug style (space separated), or Lightroom style (comma separated).
Lots of internal work to lay the groundwork for internationalizing the plugin.
20071127.12Send along a per-install random identifier with the version check, so I can count how many of each plugin is being used.
20071127.11Fix typos introduced in previous version
20071126.10

Now handles properly ampersands in SmugMug galleries/groups

Added some HTTP error trapping in an effort to get around the 'FormatMessageW failed' error that some Windows users have been seeing:

When the trapping is enabled, those errors are ignored, which may allow things to mostly work, or may simply lead to silent failure. Features that rely on the result of the upload (the new photoid) will stop working for uploads that experience a trapped error, such as the 'delete previously uploaded versions' feature.

This may not help, but it's worth a try until the underlying issue can be found and resolved.

20071125.7

Added a "Save to Local Disk" section to the dialog:

20071124.5Allow for any non-blank login name
20071123.4Added plugin debugging option, to track HTTP calls
20071123.3Report under the caption-selection area the result of what is chosen.
Added 'extra tags' to the upload-destination section (renamed 'extra keywords' as of 20080217.36).
20071121.2ensure we don't send any empty HTTP headers, as that tickles a bug in LR
20071121.1initial public release

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

First, great plugin! I really like the integration and feel of it. Would it be possible, perhaps in a future release, to include options (allow/disallow) for ‘square thumbnails’ and ‘allow originals’ – because by default it allows the originals and creates square thumbs.

Again, Thanks for the work!

— comment by Shawn on June 7th, 2008 at 1:09pm JST (7 years, 2 months ago) comment permalink

I installed for the first time last night and I get the same error message as Sam Womack and Mike. I was able to get 1 of 73 pictures uploaded. The status bar continues to creep and show that all have been exported.

The program looks great and will be a welcome addition to my workflow.

— comment by Apolooza on June 8th, 2008 at 10:58am JST (7 years, 2 months ago) comment permalink

Hello,
I downloaded and installed smugmug-20080606.44 earlier today and the plugin isn’t able to log in. I get the following messages and I haven’t seen them discussed here before.

INTERNAL PLUGIN ERROR
SmugMug login aborted
An internal error has occurred: Access to undefined global: file

Any tips?
I’m on LR2.0 beta, XP SP3
Thanks for your help.

I’ll have to look at this in more detail, but as best I can guess now, it’s a problem related to the Lightroom 1.x plugin environment that’s sort of random. If you run into it, you’ll have to restart LR, and it should work okay again for a while. I never get it, but like I said, it’s random. I’m pretty sure it’s fixed in the LR2 beta. —Jeffrey

— comment by minhtam on June 11th, 2008 at 3:43pm JST (7 years, 2 months ago) comment permalink

I had a client with the issue and this procedure seemed to fix it for him:

LOGOUT of Smugmug from inside of LR. Basically, you want the Smugmug export plugin to FORGET who you are.

Go to Smugmug and CHANGE YOUR PASSWORD

Now, try to login again using the LR exporter. In his case, it worked 100%! :)

David
http://www.WolfSnap.com/smugization
Smugmug recommended customizer-for-hire

— comment by David Wolf on June 12th, 2008 at 1:37am JST (7 years, 2 months ago) comment permalink

I have the same situation as Minhtam
“… An internal error has occurred: Access to undefined global: file”

— comment by vrvince on June 12th, 2008 at 1:14pm JST (7 years, 2 months ago) comment permalink

I must have done something to offend the randomness then… so far restarting, rebooting, reinstalling the plugin hasn’t helped and thus I have not uploaded a single file to SM from LR. :(

Are you using LR2 beta as well, vrvince?

— comment by minhtam on June 12th, 2008 at 2:17pm JST (7 years, 2 months ago) comment permalink

OK, what changed?
I was using …42, but it failed like …44
Running on XP Service Pack 3 (1 change from last time i used the plugin)
Using LR 1.4.1
I get the same errors as reported above. I have the logs if you would like them.
Using LR 2 Beta
I get a hard stop where i won’t log in to SmugMug. the plug in log file says something about the wrong version of a runtime or something – can’t seem to recreate this.

Nice tool Jeffrey. I also enjoy the blog. Wish I was as dedicated as you in writing the story.
Dave

— comment by Dave on June 12th, 2008 at 4:06pm JST (7 years, 2 months ago) comment permalink

Yes Minhtam, I am using LR2 Beta.
Before upgrading the plugin, I was occasionally successful, though sometimes getting the “Result Body is Nil” error which Jeffrey said, in May 20th comment, may be a timeout error because of too-large files. My files were seldom over 5MB, so hope that’s not a permanent limit (could be LR, Smugmug, and/or plugin issue?: many links in the chain.)
Anyway, can’t complain too much about about a Beta, and a free plugin.
Vincent

— comment by vrvince on June 13th, 2008 at 9:20am JST (7 years, 2 months ago) comment permalink

I downloaded version .45 today. It works! Woohoo!
THat’s what I call fast response.
Thank you Jeffrey.

— comment by minhtam on June 13th, 2008 at 8:08pm JST (7 years, 2 months ago) comment permalink

Invaluable tool!
The latest version smugmug-20080613.45.zip, however, seems to be cutting my internet connection out… I just reverted to the old version and see if it’s really the culprit. Using 1.41 on OS X.

— comment by WS on June 16th, 2008 at 1:58am JST (7 years, 2 months ago) comment permalink

OK working well now since deleting ALL previous versions in ALL locations on my Mac, before reinstalling xxxx.44 version

Hopefully that was all there was to the problem – please try this if you’re having problems uploading from your your Mac

By working well I mean uploaded about a dozen images over 3 sessions – not much – but it wasn’t working at all before;-)

— comment by Simon on June 16th, 2008 at 8:43pm JST (7 years, 2 months ago) comment permalink

……..or maybe it’s just cos I restarted LR..?

Time will tell

— comment by Simon on June 16th, 2008 at 8:45pm JST (7 years, 2 months ago) comment permalink

When I try to upload to SmugMug, it fails with this error:

smugmug.images.upload

Any ideas or suggestions?
Luca

— comment by LucaPCP on June 17th, 2008 at 3:40am JST (7 years, 2 months ago) comment permalink

Great product used regularly but I now but I now seem to have the dreaded Formatmessage W failed error running the current version (45) on Win XP-SP2 and LR1.4.1.

I have the debug files and it seems that just before it stops (ie after the last successful “post”) it does a smugmug .subcategories.getAll call and just stops.

Would the debug files be of any use?

Roger

— comment by RogerC on June 21st, 2008 at 6:07am JST (7 years, 1 month ago) comment permalink

I am getting the same error as stated below. I have the most current version of the SmugMug plugin and am running LR2Beta(64bit). When I select multiple photos (36 in this case) I can successfully upload one photo and then it throws this error. Is there a fix for this/work around?

— comment by GlennH on June 25th, 2008 at 12:05pm JST (7 years, 1 month ago) comment permalink

With Lightroom 2 Beta, I get an “Result body is nil” error when trying to upload to Smugmug any ideas? I have the latest release.

Steve

This is comperable to the FormatMessageW issue on 1.x, and essentially means that the images that you’re trying to upload are too big to be uploaded before Windows times out your Internet connection.

I’m not sure how much this can be addressed in 2.0, except that I will work to make the error reporting more meaningful. —Jeffrey

— comment by GlennH on June 25th, 2008 at 12:06pm JST (7 years, 1 month ago) comment permalink

Love the plugin – using with LR1.4.1 on WinXP-SP2.

Works great, but I’ve noticed that it seems to be uploading the original, not the altered/tinkered-with photos – i.e. any image editing seems to be omitted (eg cropping, colours, contrast). Wierd. I’ve tried exporting the pics to disk first etc, but no joy.

Anybody else get this or am I doing something really stupid?

Try setting the Format from ORIGINAL to JPG. :-) —Jeffrey

— comment by Richard Frank on June 26th, 2008 at 5:40am JST (7 years, 1 month ago) comment permalink

…..how embarrassing…

I discovered the answer about an hour after posting the comment – the “something really stupid” label has come back to haunt me!

In my defence (if there is one!) it’s that I thought that “original” refered to the “original format” (i.e. size or compression) rather than “original photo”…

Oops.

Thanks for getting back to me Jeffrey (see above) – and thanks for the plugin: hugely enhances both Lightroom and SmugMug – you really should be getting a cut from the latter!!

R

— comment by Richard Frank on June 26th, 2008 at 2:22pm JST (7 years, 1 month ago) comment permalink

Any sort of ETA for an update that supports the new “upload any file, especially RAW” feature of smugmug? I tried uploading CR2 (Canon RAW format) files with the current release and it complains about not being able to figure out the file’s MIME type and aborts.

Thanks!

-Jim

— comment by Jim on July 2nd, 2008 at 3:46pm JST (7 years, 1 month ago) comment permalink

Great plugin; I use it all the time, thanks!

I just noticed a possible problem with keyword exports. LR has an option for keywords that specifies that they not be included with export; I use this to tag photos with certain things (e.g., in-progress) that don’t make sense when exported to the world. I think that the SmugMug (and maybe the Flickr too?) exporter includes these private keywords. Can this be fixed? Thanks!

It’s a bug in LR 1.x. It should work properly in the 2.0 beta (I think), and in the real 2.0 whenever it comes out. —Jeffrey

— comment by Emil on July 4th, 2008 at 7:16pm JST (7 years ago) comment permalink

I just downloaded the plugin and I’m using it to upload images to smugmug now. I’ve noticed that it’s only using the keywords that are directly applied to the images themselves and not any of the synonyms or containing keywords that I have defined. I’ve got all of the keyword stuff checked and these get set and written when I export to a file.

I’m guessing that there are two likely reasons for this:

1. I’m being dense and not checking the right box.

2. The plugin doesn’t know about synonyms or containing keywords.

I’m quite happy to hear that it is number one and be pointed to what I should be doing.

Thanks for doing the work on this plugin Jeffrey. It Rocks!

It’s #2. Hopefully, the plugin will get more info in 2.0… —Jeffrey

— comment by Colin J. on July 5th, 2008 at 10:52am JST (7 years ago) comment permalink

Any sort of ETA for an update that supports the new “upload any file, especially RAW” feature of smugmug? I tried uploading CR2 (Canon RAW format) files with the current release and it complains about not being able to figure out the file’s MIME type and aborts.

…then you released the 20080702 version and my results were (I emailed this to you a few days ago but I guess it slipped past):

The upload goes swimmingly until the last image… at that point, my network activity meter (outbound) goes to 0. After some time, I get a dialog box that says “timed out”. Oh, just got a new one:

“Error response from SmugMug:
wrong format ()

Aborting after 0 of images successfully uploaded”

I varied the number of selected photos and it always hangs on the last one. The network meter shows outbound activity for all the photos up to the last one.

Of the six images I attempted to upload, one of them did partially make it but apparently not intact enough for smugvault’s browser to recognize it as a known file type, or something (the indicators are vague at best).

I don’t know what to say… that failure mode doesn’t ring a bell, and I can’t test it myself. )-: —Jeffrey

— comment by Jim on July 6th, 2008 at 2:12pm JST (7 years ago) comment permalink

Hi again

I still get errors and it won’t upgrade to the latest version, as mentioned above.

Could you please advise?

Kind regards

— comment by Nicholaus Hall on July 8th, 2008 at 8:43am JST (7 years ago) comment permalink

Hi!

Got a little feature request for you. Could we have an option to automatically set the subfolder name for local copies of files to match the name of the gallery photos are uploaded to?

That would save a little bit of typing :)

Thanks for a great plug-in, Jeffrey!

The “save local copy” feature will actually go away in the 2.0 version, because it’s built into Lightroom. FWIW, You’ll be able to automatically set the upload destination based upon the file’s Lightroom folder, though. —Jeffrey

— comment by Pyry Ekholm on July 9th, 2008 at 6:41am JST (7 years ago) comment permalink

Hi Jeffrey
If I can’t upgrade to get it working, how do I un-install the plugin to try to re-install the latest?
Thanks

— comment by Nicholaus Hall on July 13th, 2008 at 7:40am JST (7 years ago) comment permalink

Hi again, I’ve sorted it!
Thanks for the great plug-in.

— comment by Nicholaus Hall on July 13th, 2008 at 8:04pm JST (7 years ago) comment permalink

Hi Jeffrey

I wanted to activate the “run any command” piglet. I get an error telling me it’s not possible to list the piglets. The error shows the failed command. I tried it in a command window and it worked. The reason for it is probably my user name “Jürg” with an umlaut. Since the command window uses a different char-set from ansi, it doesn’t find the path.
There is a windows api function to convert from ansi to oem. That might help. I’d be very grateful if you could fix this problem.

Otherwise the plugin is great. Thanks a lot for your dedicated work!

Regards Jürg

— comment by Juerg on July 14th, 2008 at 11:27pm JST (7 years ago) comment permalink

The {State} token does not work (Vista w/ SP1) for the newest plugin 20080714.47.
Even if I just use {State}, it doesnt work.
Anyone else seeing this?

— comment by pete on July 17th, 2008 at 1:32pm JST (7 years ago) comment permalink

Uh, I fixed my uploading problem by deleting the plugin in both LR 1.4 & 2.0, then reloading the latest version, (which I thought I had previously loaded…) and zook! Flawless uploads as usual. Can’t find rhyme or reason as to why both my copies of LR were selecting the old plugin versions, but they can’t now ’cause I deleted them. Thanks again for your cool plugin.

Rocky
BL3@smugmug.com

— comment by Rocky on July 22nd, 2008 at 11:04am JST (7 years ago) comment permalink

After reading through the above I think it’s great what you have done. I’m guessing that in order to use this feature you need to have an active account versus a trial period. Is this a corect assumption?

— comment by Mike on July 23rd, 2008 at 5:14am JST (7 years ago) comment permalink
Leave a comment...


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 the following tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Subscribe without commenting