Lightroom 1 Export Plugin for Zenfolio
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)  ·

(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

20080714.50Minor tweaks
20080704.49Oops, was sending the same text for both title and caption... now fixed. Really. (I think.)
20080613.47A couple of small bug fixes that might help this run in the 2.0 beta a bit better.
20080607.46Oops, cleaning up one loose end with the debug-log move

Minor tweak: Moved 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.

20080523.44Grafting in the caption-management stuff that I've been working on for the 2.0 versions of the plugins. See description here.
20080411.43Fix for the "_update_status" bug that those few who export non-sRGB JPGs ran into.
20080404.42Some small cleanup to allow the plugin to work with the 2.0 beta
20080315.41Sigh, I'd left some in-progress development stuff in the release I pushed yesterday, sorry.
20080314.40Minor update to allow the plugin to work with Lightroom 1.4.
20080221.39Minor UI tweaks for better appearance on a Mac.
Updated Swedish translation.
20080217.38small fix to the wording in the Title/Caption dialog
  • New French translation.
  • Now includes a Swedish translation by Niklas Sjöström.
  • Can now sort the upload gallery list (alphabetically, most-recently-created first, most-recently-used first), and can use "select at export time" (useful for building export presets).
  • Fixed (I hope) the &8220;User is not an owner of an object” error some have reported.
  • Renamed “Extra tags” to “Extra keywords” to reflect the Zenfolio vernacular.
20080128.36Tidied 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‍@‍
20080123.35Fixed another error introduced in .33 related to visiting the destination gallery after upload
20080123.34Fix "internal error" bug introduced in previous build, that affected those upgrading from several versions back.
20080122.33Added "Run Any Command" Piglet.
Some internal refactoring to better support the piglet infrastructure.
Added tiff option back because I think I figured out why it wasn't letting me upload tiff before.
20080117.32Zenfolio doesn't seem to allow tiff uploads, so I've removed that option.
20080117.31Have export dialog allow file types that any enabled piglets allow. Bail if the resulting filename has an extension that can't be uploaded.
20080115.30Added the piglet manager for fourth-party add-ons
20080109.29New and tidied French translation
20080107.28Housekeeping changes to allow auto-install on OSX
20080104.27Using 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.26Updated French translation
20071222.25Ensure that a long login status message does not crowd out the logout button. Work properly even when someone logs in with an email address instead of a username.
20071217.23Update to the title/caption logic. Properly handle a no-gallery situation. New French translation file.
20071213.22fix bug introduced in .19
20071213.21oops, removing some debugging code I left in by accident
20071213.20new French translation file
20071213.19Can now filter the export so that only images previously exported to Zenfolio will be processed, or, conversely, only images that have not been previously exported to Zenfolio.
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.16Can 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 (I hope) Lots of internal work to lay the groundwork for internationalizing the plugin
20071127.11Send along a per-install random identifier with the version check, so I can count how many of each plugin is being used.
20071127.10Don't double-upload images when a 'FormatMessageW' error is trapped
20071127.9Allow for any non-blank login name (it didn't allow email addresses before)
20071127.8Fix typos introduced in previous version

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 is worth a try until the underlying issue can be found and resolved.

20071125.6Now handles properly ampersands in Zenfolio galleries/groups
20071125.5Added a "Save to Local Disk" section to the dialog:
20071123.3Added plugin debugging option, to track HTTP calls
20071123.2Report under the title-selection area the result of what is chosen
Added 'extra tags' to the upload-destination section (renamed "extra keywords" as of 20080217.37)
Added ability to choose where the caption is taken from.
20071121.1initial public release

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

Thank you for a great plug-in.

May I ask that you please put back the TIFF upload option. I have been using that option successfully. All I have uploaded to my Zenfolio site are TIFF files.

Fixed as of version .33 —Jeffrey

— comment by Richard on January 20th, 2008 at 6:17am JST (16 years, 5 months ago) comment permalink

I just installed version 20080122.33 on Mac OS X 10.5.1, Lightroom 1.3.1. I’m getting error “Can’t us plugin; the plugin had an internal error” message. BTW, I like the plugin…thanks for all the hard work!

Sorry about that, should be fixed in .34 —Jeffrey

— comment by Jeremy on January 23rd, 2008 at 11:40am JST (16 years, 5 months ago) comment permalink

Hi Jeffrey. Enjoying your work – thanks. I notice my uploads to Zenfolio are having their exif stripped. Probably something I am doing wrong?

— comment by Mike on January 24th, 2008 at 12:07am JST (16 years, 5 months ago) comment permalink

I also have the EXIF stripped out – I am going from DNG to Tiff and then have LR/mogrify make jpgs. I have not checked the box minimise embedded metadata

— comment by Alastair on February 2nd, 2008 at 4:55pm JST (16 years, 5 months ago) comment permalink

I really really love this plugin, saves me loads of time. The only problem is that there still seems to be bugs. I started getting the ‘FormatMessageW failed error’ which seems to be ALMOST fixed as I still get it once in a while. Now I’ve gotten a couple different errors I haven’t seen before: “An internal error has occurred: “LrCatalog:withCatalogDo: already inside withCatalog()wrapper” and another that I cannot remember.

Keep up the good work, hope this stuff gets solved soon!

— comment by tom on February 4th, 2008 at 1:33am JST (16 years, 5 months ago) comment permalink

Since today I got an error when I tried to login and export pictures to Zenfolio

“unable to create a temporary class (result=1) Error CS0200 : Property or indexer ‘Zenfolio.web.api.ojects.apiphoto.Rotationspecified’ cannot be assigned to – its read only

I noticed other people are having the same problem.

Let me know of any solutions. Thanks in advance for all your time and trouble. Love the program.


This smells like a problem on Zenfolio’s side, as if they need to reboot their servers or something. Please report it to them; they know how to contact me if it’s something on my side. Note, though, that I’m in Japan, so I’m on the opposite side of the am/pm clock, and am heading to bed just as the US is waking up. —Jeffrey

— comment by David Brady on February 19th, 2008 at 12:52am JST (16 years, 4 months ago) comment permalink

The problem with the error is solved by Zenfolio.


— comment by Dick on February 19th, 2008 at 2:46am JST (16 years, 4 months ago) comment permalink

Regarding Adobe RGB vs sRGB etc. The Colorspace Warning extra info states: “Note: Regardless, Zenfolio converts non-sRGB images to sRGB for display.”
I find it a little confusing. Because it only converts the 7 web viewable versions it generates of the uploaded images. The actual images themselves retain whatever profile they have on them if you download original.

What about it is confusing? As you and the warning both say, the images displayed by Zenfolio are converted to sRGB. It seems you understand it perfectly. —Jeffrey

— comment by Dave on March 4th, 2008 at 12:55am JST (16 years, 4 months ago) comment permalink

Sorry I didn’t mean to come off as unappreciative or anything. Your plugin gave me reason enough to switch from Fotki to Zenfolio because I love it so much. 🙂

You came off fine… sorry for having been curt. I’ve had a cold for a week, and have no energy. I’ll revisit the wording when I do. —Jeffrey

I found it confusing because I had to download an original from my Zenfolio account after upload to see if it had been converted to sRGB or retained my original profile.

I think it is the “Regardless” in the statement that throws/threw me off. Makes me think it doesn’t really matter if I upload sRGB or not but it actually still does matter. I’m not saying your statement is inaccurate. In fact it is right on the money and factual. Perhaps it could read:
“Zenfolio retains the original profile on the actual uploaded image and converts the 7 versions used for web display to sRGB.”

or something like that. I’m not quite the wordsmith 😉

Thanks again for the fantastic LR plugin.

— comment by Dave on March 4th, 2008 at 11:13pm JST (16 years, 4 months ago) comment permalink

i’m a very happy user of your plugin ! I just installed version 20080314.40 on Mac OS X 10.5.2, Lightroom 1.4. I’m getting error “[string “Zenfolio.lua”]:1961: attempt to call field ‘update_data’ (a nil value)” message. By ‘Upload Management’ – ‘All: process all selected images ( )’ – > The ( ) is empty the others are zero ( 0 )
Thanks for all the hard work! Erwin

Yikes, I accidentally left some in-progress work in the release I pushed yesterday. Sorry. Please pull the latest and it should now work. —Jeffrey

— comment by Erwin on March 15th, 2008 at 12:57am JST (16 years, 3 months ago) comment permalink

FTF, Wonderful applications!!!!!!!!!!! Can’t say enough. THANKS!

I am on Mac OSX and getting the same error as Tom: tom on February 4th, 2008 at 1:33am JST (1 month ago) —
LrCatalog:withCatalogDo: already inside a withCatalogDo() wrapper

Lightroom 1.3.1
MacPro 4G Ram
Plugin: 20080315.39
OSX 10.5.2

LMK if you need any more information.


— comment by frankacano on March 23rd, 2008 at 2:37pm JST (16 years, 3 months ago) comment permalink

Hello, I’ve been seeing this issue with the past few releases. Not sure if it is the plugin or Lightroom…

I have made a export preset with my settings and to use the Zenfolio plugin… I right click my photo, select that export preset, it brings up the box that normally asks me which gallery to toss into and it says I am not logged in.

So I open up the “mother export” window, and it logs into Zenfolio and then I can press the export button and everything works right… this is annoying… I would like to do what I used to be able to do – which was just right click, select my plugin, select the gallery, and export.

Running Windows XP and Lightroom 1.4.1 (I am going to guess it is Lightroom’s fault)

— comment by Scott Brown on April 11th, 2008 at 10:30am JST (16 years, 2 months ago) comment permalink

Love the plugin Jeffrey, thank you very much! Any plans to add the ‘Do after export dropdown menu’ to the plugin interface? It would be cool to be able to run some droplets (i.e. sharpen for resized files) before they are uploaded to zenfolio.

For sharpening, check out Tim Armes’ Lr/Mogrify piglet (described here), or to run any random program, you can use my Run Any Command Piglet for that. —Jeffrey

— comment by Tom on April 24th, 2008 at 1:30am JST (16 years, 2 months ago) comment permalink

I like the plug in but I am only able to upload one file at a time. I get internet connection down? But I am connected.Windows vista

— comment by Alan on April 25th, 2008 at 4:14am JST (16 years, 2 months ago) comment permalink

Anyone else having problems w/ this as of this morning? When trying to authenticate credentials at the beggining I get: “INTERNAL PLUGIN ERROR” and the “Zenfolio info refresh aborted” and then “An internal error has occurred.” and “bad server certificate” On OS X w/ 1.4 of LR w. the latest version of the plugin.

Could this have something to do w/ the Zenfolio maintenance last night?

— comment by joshua on April 27th, 2008 at 1:13am JST (16 years, 2 months ago) comment permalink

Wow- Great plug in. Lightroom and Zenfolio now talk.

— comment by John Hart on April 28th, 2008 at 2:37am JST (16 years, 2 months ago) comment permalink

Jeffrey – first off thank you for building the plugins for Lightroom. I do have an issue with the download for Zenfolio though. When I try to unzip it it tells me: Cannot open file : it does not appear to be a valid archive. Any help would be greatly appreciated. TIA

I’m not sure what to suggest… the zip file is fine on my end. Perhaps it got corrupted on your side when you saved it? Re-download? —Jeffrey

— comment by Frank on May 17th, 2008 at 12:45am JST (16 years, 1 month ago) comment permalink

Hi, like the flickr plugin i like this one very much. There are some things I would like to see thow: I have some keywords with extra synonyms in it (for example a bird species with as synonym the latin name). In the flickr plugin those synonyms are exported as well; in the zenfolio version I have to place them manually (or make extra keywords in lightroom, which makes it a mess). Would be nice if they were exported automatically. Second, the flickr plugin also exports the location data (city etc), would be nice if the zenfolio plugin did that to.

Would that be possible? I will love you for it till the end of time 😉

— comment by Caroline on May 18th, 2008 at 3:38pm JST (16 years, 1 month ago) comment permalink

This is without a doubt the finest upload tool available for any program or service , thank you very much Mr. Friedl. I do have one feature for the wishlist and it’s a big one: the ability to replicate the folder structure of a Lightroom catalog automatically on Zenfolio using groups and galleries. Failing that, how about the ability to create multiple galleries automatically using folder or collection names? I’m an event photographer and have to categorize photos as finely as possible. The subsequent manual uploading of numerous individual galleries is one of the biggest logjams in my workflow. Should it be possible, such an ability would be absolutely invaluable. Keep up the excellent work!
PS. Any possibility of seeing this plugin for Aperture?

— comment by Steve on May 19th, 2008 at 2:22am JST (16 years, 1 month ago) comment permalink


I have lightroom 1.4.1 and I cannot locate an updated plugin.
Is there a new plug in or do I have to go back to 1.3


— comment by Keith Dupont on May 22nd, 2008 at 4:05am JST (16 years, 1 month ago) comment permalink

Any ideas yet about the “An Internal Error Has Occurred: Win32 API error (unknown error — FormatMessageW failed) when calling HttpSendRequest from private_agHttpClient_post_L” ?

I have looked everywhere and used the registry settings that Alexander had on his site, but to no avail. I am using Vista and noticed that I get this error right off if I upload full size files – can;t finish the 1st file. I get through more photos being uploaded if I use a low resolution and file size, but still gives the error.

Is anyone sucessful in uploading full size images with this plugin, and if so what OS are you using. Any other tips appreciated.


— comment by Shawn on May 27th, 2008 at 6:42am JST (16 years ago) comment permalink

I have noticed in your latest plug-in update for Zenfolio “20080523.44 zip” I am now getting a “lr.log” file placed on my desktop whenever I open Lightroom. The file is empty.

What is the purpose of the file and is there a way to de-activate the file creation?

I know I can just delete the file each time I use Lightroom from my desktop, but it does seem like an unecessary action.

Thank you for all the effort you have put into this plug-in. It works great.

David Brady

Sorry ’bout that… that was just laziness on my part. I’ve pushed a new version (20080606.45) that writes the log to the documents directory, and only does it when it actually has something important to write (which shouldn’t be anything for the Zenfolio plugin). —Jeffrey

— comment by David Brady on June 6th, 2008 at 12:04am JST (16 years ago) comment permalink

Thanks for a great plugin!

I have however a problem that one person above reported before but it seams to remain. I use Mac with Lightroom 1.4 and the Zenfolio plugin. What happening is that each time I use the plugin to export two folders are created: “Exported from Lightroom” and “Previous export from Lightroom”. I have to go to, login and delete these two each time I had exported with the plugin. Can that be solved?

Thanks, Olof

Uncheck the “add to …. collection” options in the Zenfolio: Upload Management section of the export dialog. —Jeffrey

— comment by Olof on June 6th, 2008 at 2:16am JST (16 years ago) comment permalink

Hi Jeffrey:

Got you revised plug-in “22080606.45” regarding the lr.log file. Sorry to say, it is still writting the file to the desktop. You have to stay off that strong coffee. Looking forward to the revised- revised file.

Thanks again for all your effort and quick response.

David Brady

— comment by David Brady on June 6th, 2008 at 10:41pm JST (16 years ago) comment permalink

I am also getting the same error others are reporting, using the version of the plugin downloaded today: “An Internal Error Has Occurred: Win32 API error (unknown error — FormatMessageW failed) when calling HttpSendRequest from private_agHttpClient_post_L”. In my case, I was trying to upload 25 images to a new gallery. The first one appeared to upload and the failure occurred after the upload.

Running Windows XP2 with all service packs applied on system with 3MB RAM.

The plugin_loader.log file says “06/16/2008 18:40:51 ERROR plugin ID info.regex.lightroom.export.zenfolio export task failed with error Win32 API error (unknown error — FormatMessageW failed) when calling HttpSendRequest from private_AgHttpClient_post_L” but nothing else that looks interesting.


— comment by Guy Scharf on June 17th, 2008 at 10:51am JST (16 years ago) comment permalink

I have been trying new style title and caption presets. I have tried modifying the standard and creating new presets. I place the word “title” in the title preset and “caption” in the caption preset. I have never been able to get a caption to appear on Zenfolio. If I used the standard interface the title and caption come out correctly on Zenfolio. I may be missing something. I have read the help. Any suggestions? Vista64.

— comment by Ron Whitaker on July 4th, 2008 at 9:00pm JST (16 years ago) comment permalink

I am getting an internal plugin error on 20080704.48

— comment by Ron Whitaker on July 4th, 2008 at 9:12pm JST (16 years ago) comment permalink

“20080704.49 Oops, was sending the same text for both title and caption… now fixed. Really. (I think.)” It’s fixed for me, thank you for creating and maintaing this plugin.

— comment by Bruce McL on July 10th, 2008 at 5:46am JST (15 years, 11 months ago) comment permalink

Hi Jeffrey,

Discovered today when exporting text in the metadata field “caption” that the text is cut when using a “&” in the text. All letters after “&” is cut. I am using the old style view when exporting. Plugin version 20080704.49 with Lightroom 1.4 on Mac OS X.

Thanks, Olof

— comment by Olof on July 11th, 2008 at 3:03am JST (15 years, 11 months ago) comment permalink

Hello Jeffrey,

Thanks for the zenfolio plug-in. I am new to zenfolio, and still learning Lightroom (which I love!) I have begun to do more project oriented photography and event photography for other people, and am needing a simple way of publishing albums of photos where clients can order what they want directly, without my having to fulfill orders. After looking through several options, zenfolio looks the best, so I set up a trial account. Last night, I tried the first upload, using the export to zenfolio option (via your plug-in). I am using LR 1.3.1. In my first attempt, I inadvertently clicked the export button before having completed the information in the export window. As a result, the exporting began, and I had to click the red ‘X’ in the export progress window at top left to cancel the export. But the two commands (‘export’ and ‘cancel’ seemed to hang in some kind of limbo for a very long time. I came back later, and it appeared to be done, so I redid the export process, this time being careful not to hit whatever it was (return? space bar?) before I’d filled out all fields. When that was done, I clicked on the ‘export’ button, and the exporting began. There were 64 full size jpegs selected (average of 5 MB each, on the outside chance that the dance company I was photographing wants to order larger prints for publicity purposes.) The uploading took a very long time, and when it was completed, I went to my zenfolio account and found that the earlier upload appeared there as well. So there were 4 folders, two labeled as ‘exported from Lightroom’ and ‘previous export from Lightroom’, and two folders labeled with the album name I gave to the group I was uploading to. (Please excuse this long-winded explaination!) It was my intention at this point, to have one album, on my zenfolio site, period. I want to understand how to do this so that I can take advantage of the export from Lightroom feature, but end up with only the album I am saving to visible on the page. Here’s the question: will there always be one folder identified as ‘export from LR’, and a second identified by the album name I give it? All images appear in each album or folder. (The export from LR appears as a folder, and the album as an album. But each one appears to have all the photos! I went ahead and deleted the earlier album, but am trying to understand about the ‘export from LR’ folder is for, and what to do with it. They appear in both the edit view, and the visitor view.

There should be checkboxes in the Export Dialog that turn on/off the “exported from” and “previous export” collections, in the “Upload Management” section. I haven’t used the LR1.x version of the plugin in ages, but I know they’re there. —Jeffrey

— comment by Marti on February 21st, 2009 at 5:55am JST (15 years, 4 months 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.

IMPORTANT:I'm mostly retired, so I don't check comments often anymore, sorry.

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

Subscribe without commenting