Thanks for replying David. I'm no longer having a problem with the edits.
I did another upload tonight and it seemed to work but the images did take a little time before they showed up in the gallery. This was only four images but it seems unbearable for larger uploads of 10+ images.
Problem with keywords
I've run into a problem with keywords -- my keywords were all entered in Lightroom, and they are not appearing correctly in SmugMug.
I've tried the following:
Export in LR to disk, then upload to SM. Keywords don't show up at all in SM. If I try to edit the keywords, my LR keywords show up in the edit box (separated by semicolons) but SM doesn't recognize them. Tried both with "export keywords as Lightroom hierarchies" on and off.
Used Jeffrey's Lightroom->SmugMug exporter. Only the parent keyword in the hierarchy showed up in SM. Tried both with "export keywords as Lightroom hierarchies" on and off.
Used Jeffrey's exporter, and had it also save a copy of the file to disk. Then deleted the exported versions from SM, and re-uploaded the ones from disk. Keywords worked correctly. Not a good workflow though.
Plugin no longer active in LR after 1.4 install
After updating to ver. 1.4 I no longer have access to the plugin. The folder is still in the module folder. I noticed there was a module folder under C:\Program Files (x86)\Adobe\Adobe Photoshop Lightroom 1.4\Modules so I put it there but the app still doesn't show up in the export dialog box. Anyone else having this problem?
After updating to ver. 1.4 I no longer have access to the plugin. The folder is still in the module folder. I noticed there was a module folder under C:\Program Files (x86)\Adobe\Adobe Photoshop Lightroom 1.4\Modules so I put it there but the app still doesn't show up in the export dialog box. Anyone else having this problem?
make sure you download the new version. the one that worked with LR1.3 does not work with 1.4.
Lightroom PlugIn to Multiple SmugMug Sites?
My apologies for not doing a lot of research on this topic. Can I have more than one Lightroom export preset in the Lightroom PlugIn to cover more than one SmugMug site? If so, how?
My apologies for not doing a lot of research on this topic. Can I have more than one Lightroom export preset in the Lightroom PlugIn to cover more than one SmugMug site? If so, how?
OK, answered my own question. Save your first export setting/site as a user preset (add), then logout and login to the other site. Do all this within the Lightroom export window. Set up the second site as you like in the export and save it as a new preset. I haven't fully tested going back and forth between but it seems like it should be fine.
I am getting an error message when I am uploading to Smugmug.
“An internal error has occurred: Win32 API error (unknown error — FormatMessageW failed) when calling HttpSendRequest from private_AgHttpClient_post_L”
After tinkering with Jeffrey's code, I found a small bug which can cause this FormatMessageW error to occur.
The Problem: HTTP is a line-based protocol. However, whatever is being sent as the caption is parsed to encode newline characters (\r or \n) in their HTTP encoding (hex D and A, respectively). Therefore, any caption which has one of these characters will break the semantics of HTTP and cause the query to fail.
Other control characters and special characters (&, =, %, spaces) don't seem to muck with HTTP enough to make my system upset, but it seems logical to replace all those too (as well as the \r and \n which *definitely* cause a problem).
A Solution: Below is a little patch with the fix. I've also put the revised file up on my website until Jeffrey gets a chance to incorporate it into his codebase. By then, everyone should have figured out how I actually broke it (hopefully not, lol).
Patched File: Removed -- the official revision 39 is now available so try it out!
--- orig/caption_source.lua 2008-02-21 17:58:18.000000000 -0800
+++ mod/caption_source.lua 2008-03-19 04:08:14.000000000 -0700
@@ -439,0 +439,9 @@
+-- replace all ampersand, equal, plus, percent, and ASCII control characters with
+-- there HTTP encoding value (e.g. their hexidecimal representation).
+local function encode_for_http(str)
+ str = string.gsub(str, "([&=+%c])", function (c)
+ return string.format("%%%02X", string.byte(c))
+ end)
+ return string.gsub(str, " ", "+")
+end
+
@@ -451,5 +460,5 @@
if not caption then caption = get_one(state[__CAPTION(tag, 'p2')], photo, filename) end
if not caption then caption = get_one(state[__CAPTION(tag, 'p3')], photo, filename) end
if not caption then caption = get_one(state[__CAPTION(tag, 'p4')], photo, filename) end
- return caption
+ return encode_for_http(caption)
end
I'll also post this on Jeffrey's blog since I'm not so sure he reads this forum.
More Flexible Caption Interface (Take One)
EDIT: Merged with the latest revision from Jeffrey (newest code reflects that and I labeled it version "39a" and will leave it up until it gets integrated into revision 40, hopefully).
Well, because of the overwhelming response from the first minor change, I figured I'd give it another go with something a little more exciting .
Overview: I keep information about my photos in a lot of metadata fields -- not just Title or Caption, etc. As a result, for me the plugin was a bit limited in terms of captioning options -- I really wanted to be able to include as many metadata fields as I wanted. This required a little bit different of an approach from the radio buttons / priority method.
Change: You can now specify a "template" using as many metadata fields as you like, as well as other plain formatting (bold/italic takes, newlines, labeling text, etc.). This is facilitated by having a text area to type the template in. It is made easy to use by having buttons for the most common options (e.g. the fields you presented as radio buttons previously plus date/time). The other zillions of metadata fields are lumped into a single combo box with an add button. These buttons should make it easy to compose a template.
Example template: ( Quickly made by pushing buttons:ivar)
$$title ($$dateTime): $$caption
$$jobIdentifier
$$fileName
$$location
Future Work:
-- I need to disable the default button when the user is typing in the box ... otherwise the enter key sends off the export. (Maybe Jeffrey knows how to do this too ... I just posted on the SDK's forum asking about this so hopefully they'll respond since the manual is lacking here).
-- It would be nice if after you clicked a button it would: 1) insert the text at your current cursor position (it always inserts at the end) and 2) refocuses your cursor at the end of the inserted metadata text. This is not really possible with the SDK right now, but Jeffrey is pinging the Adobe people in hopes of getting support added sometime .
-- A downside is that if a field is missing, it just shown as blank. A user may potentially want to handle special cases ... specially ... but there is no support for that now (other than exporting them separately). That would complicate the UI or at least the syntax, so it probably wouldn't be used much anyway, and regardless I suspect that most people are pretty uniform about what metadata they provide for a given set of photographs.
Below are the changed files and the diff. Thanks again to Jeffrey for a great tool!
I just modified my previous post to include a screenshot <img src="https://us.v-cdn.net/6029383/emoji/rolleyes1.gif" border="0" alt="" > (too many words!) and to note that I have merged/upgraded the source code to rev39 which Jeffrey released this morning from the first patch.
I also fixed the template box so it now remembers the last template you used (thanks to Jeffrey for helping me out there).
One Last Cool Thing: If you enclose your template in <html> tags, you can use make use of color and all that fun stuff too:
I cannot get this to install....
tried to get the plugin to install v39 <http://tinyurl.com/4tj9md>l to work to no avail. You can see (http://tinyurl.com/5brkbm) I have gotten the Flickr plugin to work but the SmugMug one. One problem was that I was running Lightroom 1.4. I have reverted to 1.31 and still no luck.
I have gotten some help from some kind folks here at SmugMug at Don's suggestion after reading my Twitter post but I am at my wit's end....
What to do next?
tried to get the plugin to install v39 <http://tinyurl.com/4tj9md>l to work to no avail. You can see (http://tinyurl.com/5brkbm) I have gotten the Flickr plugin to work but the SmugMug one. One problem was that I was running Lightroom 1.4. I have reverted to 1.31 and still no luck.
I have gotten some help from some kind folks here at SmugMug at Don's suggestion after reading my Twitter post but I am at my wit's end....
What to do next?
Thanks for posting here - I've also reached out to Jeffrey who wrote the plugin...
tried to get the plugin to install v39 <http://tinyurl.com/4tj9md>l to work to no avail. You can see (http://tinyurl.com/5brkbm) I have gotten the Flickr plugin to work but the SmugMug one. One problem was that I was running Lightroom 1.4. I have reverted to 1.31 and still no luck.
I have gotten some help from some kind folks here at SmugMug at Don's suggestion after reading my Twitter post but I am at my wit's end....
What to do next?
Weird ... When you bring up the export dialog, in the top-right there are two little arrows. When I click on them, it shows me the smugmug export option in a dropdown box. (I don't have the flickr plugin, but image you're successfully using it in the same way since they are pretty similar). So is it not showing up in that list for you, or is it broken in some other way?
Is the photo particularly large? I've read on the LR forums that the method sometimes seems to fail on large post requests for some people only. Maybe they've figured out since this post.
Can you try it on a rather small batch of lower-resolution images and see if it makes any difference?
It uploads one 600x480 image smoothly and without any problems...
But no luck on 6 TIFF files (it converts photos to jpgs before sending, doesn't it?)
Under the "File Settings" section of the plugin, it should have the output format set to jpeg. But yes, then LR will convert the file to a jpeg before it ever gives the image data to the plugin.
For fun, you could try using the normal LR export to create the jpegs manually and then try to upload those. Supposedly, it shouldn't behave any differently since either way the plugin should be getting the same image data, but it might be worth a try.
You may want to try to leave a comment on Jeffrey's site; he may be able to help.
Error on upload - what's this message mean?
got this error message on trying to upload
I had to reinstall plug in as it had stopped working (dissapreaerd)
Is it because I tried LR2 and immediately deleted it? ( I might have accidentally trashed it while trashing LR2 files)Now gone back to LR1.4.1
I had to reinstall plug in as it had stopped working (dissapreaerd)
Is it because I tried LR2 and immediately deleted it? ( I might have accidentally trashed it while trashing LR2 files)Now gone back to LR1.4.1
Since you tried the Beta,
Simon, try re-installing the plugin
Sending to Smugmug
Okay, I followed all the directions to send my photos from lightroom to smugmug. I downloaded the plug in and it is in my export actions folder, but when I try to look for it in post processing, it's not there! HELP!
I use Jeffrey Friedl's Plugin for Export. found at Lightroom Export Plugin for SmugMug where there are complete instructions for using. Very user friendly from Lightroom once installed.
Don
Don Ricklin - Gear: Canon EOS 5D Mark III, was Pentax K7
'I was older then, I'm younger than that now' ....
My Blog | Q+ | Moderator, Lightroom Forums | My Amateur Smugmug Stuff | My Blurb book Rust and Whimsy. More Rust , FaceBook.
Comments
I did another upload tonight and it seemed to work but the images did take a little time before they showed up in the gallery. This was only four images but it seems unbearable for larger uploads of 10+ images.
Rich Mar Photography - Sydney Family Photographer
Rich Mar Photography Blog
I've run into a problem with keywords -- my keywords were all entered in Lightroom, and they are not appearing correctly in SmugMug.
I've tried the following:
Export in LR to disk, then upload to SM. Keywords don't show up at all in SM. If I try to edit the keywords, my LR keywords show up in the edit box (separated by semicolons) but SM doesn't recognize them. Tried both with "export keywords as Lightroom hierarchies" on and off.
Used Jeffrey's Lightroom->SmugMug exporter. Only the parent keyword in the hierarchy showed up in SM. Tried both with "export keywords as Lightroom hierarchies" on and off.
Used Jeffrey's exporter, and had it also save a copy of the file to disk. Then deleted the exported versions from SM, and re-uploaded the ones from disk. Keywords worked correctly. Not a good workflow though.
Any suggestions?
Here's a sample gallery exhibiting the problem:
http://mikefischer.smugmug.com/gallery/4478484_Q7NGe
Thanks,
Mike
After updating to ver. 1.4 I no longer have access to the plugin. The folder is still in the module folder. I noticed there was a module folder under C:\Program Files (x86)\Adobe\Adobe Photoshop Lightroom 1.4\Modules so I put it there but the app still doesn't show up in the export dialog box. Anyone else having this problem?
Whigham Photography, LLC
www.whighamphotography.com
www.altashot.com
make sure you download the new version. the one that worked with LR1.3 does not work with 1.4.
http://regex.info/blog/photo-tech/lightroom-smugmug/
Also, the modue doesnt go in program files, it goes in
\Documents and Settings\username\Application Data\Adobe\Lightroom\Modules\
Whigham Photography, LLC
www.whighamphotography.com
www.altashot.com
My apologies for not doing a lot of research on this topic. Can I have more than one Lightroom export preset in the Lightroom PlugIn to cover more than one SmugMug site? If so, how?
TIA,
Rob
www.ShellhamerPhotography.SmugMug.com
www.EdwardsburgScouts.SmugMug.com
www.ShellhamerPhotography.com
www.EdwardsburgScouts.SmugMug.com
OK, answered my own question. Save your first export setting/site as a user preset (add), then logout and login to the other site. Do all this within the Lightroom export window. Set up the second site as you like in the export and save it as a new preset. I haven't fully tested going back and forth between but it seems like it should be fine.
www.ShellhamerPhotography.com
www.EdwardsburgScouts.SmugMug.com
The Problem: HTTP is a line-based protocol. However, whatever is being sent as the caption is parsed to encode newline characters (\r or \n) in their HTTP encoding (hex D and A, respectively). Therefore, any caption which has one of these characters will break the semantics of HTTP and cause the query to fail.
Other control characters and special characters (&, =, %, spaces) don't seem to muck with HTTP enough to make my system upset, but it seems logical to replace all those too (as well as the \r and \n which *definitely* cause a problem).
A Solution: Below is a little patch with the fix. I've also put the revised file up on my website until Jeffrey gets a chance to incorporate it into his codebase. By then, everyone should have figured out how I actually broke it (hopefully not, lol).
Patched File: Removed -- the official revision 39 is now available so try it out!
I'll also post this on Jeffrey's blog since I'm not so sure he reads this forum.
EDIT: Merged with the latest revision from Jeffrey (newest code reflects that and I labeled it version "39a" and will leave it up until it gets integrated into revision 40, hopefully).
Well, because of the overwhelming response from the first minor change, I figured I'd give it another go with something a little more exciting .
Overview: I keep information about my photos in a lot of metadata fields -- not just Title or Caption, etc. As a result, for me the plugin was a bit limited in terms of captioning options -- I really wanted to be able to include as many metadata fields as I wanted. This required a little bit different of an approach from the radio buttons / priority method.
Change: You can now specify a "template" using as many metadata fields as you like, as well as other plain formatting (bold/italic takes, newlines, labeling text, etc.). This is facilitated by having a text area to type the template in. It is made easy to use by having buttons for the most common options (e.g. the fields you presented as radio buttons previously plus date/time). The other zillions of metadata fields are lumped into a single combo box with an add button. These buttons should make it easy to compose a template.
Example template: ( Quickly made by pushing buttons:ivar)
$$title ($$dateTime): $$caption
$$jobIdentifier
$$fileName
$$location
Future Work:
-- I need to disable the default button when the user is typing in the box ... otherwise the enter key sends off the export. (Maybe Jeffrey knows how to do this too ... I just posted on the SDK's forum asking about this so hopefully they'll respond since the manual is lacking here).
-- It would be nice if after you clicked a button it would: 1) insert the text at your current cursor position (it always inserts at the end) and 2) refocuses your cursor at the end of the inserted metadata text. This is not really possible with the SDK right now, but Jeffrey is pinging the Adobe people in hopes of getting support added sometime .
-- A downside is that if a field is missing, it just shown as blank. A user may potentially want to handle special cases ... specially ... but there is no support for that now (other than exporting them separately). That would complicate the UI or at least the syntax, so it probably wouldn't be used much anyway, and regardless I suspect that most people are pretty uniform about what metadata they provide for a given set of photographs.
Below are the changed files and the diff. Thanks again to Jeffrey for a great tool!
http://www.dound.com/code/caption_source.lua
http://www.dound.com/code/SmugMug.lua
http://www.dound.com/code/TranslatedStrings_fr.txt
SmugMug API Developer
My Photos
I just modified my previous post to include a screenshot <img src="https://us.v-cdn.net/6029383/emoji/rolleyes1.gif" border="0" alt="" > (too many words!) and to note that I have merged/upgraded the source code to rev39 which Jeffrey released this morning from the first patch.
I also fixed the template box so it now remembers the last template you used (thanks to Jeffrey for helping me out there).
One Last Cool Thing: If you enclose your template in <html> tags, you can use make use of color and all that fun stuff too:
tried to get the plugin to install v39 <http://tinyurl.com/4tj9md>l to work to no avail. You can see (http://tinyurl.com/5brkbm) I have gotten the Flickr plugin to work but the SmugMug one. One problem was that I was running Lightroom 1.4. I have reverted to 1.31 and still no luck.
I have gotten some help from some kind folks here at SmugMug at Don's suggestion after reading my Twitter post but I am at my wit's end....
What to do next?
Portfolio • Workshops • Facebook • Twitter
<img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif" border="0" alt="" > It'll be interesting to hear how you get this resolved ...
Good luck!
"INTERNAL PLUGIN ERROR
ResultBody is nil"
Cannot upload anything.
LrHttp.post just sends an http post message (I think), so I'm not sure why it would be failing.
Has it worked before for you?
Is the photo particularly large? I've read on the LR forums that the method sometimes seems to fail on large post requests for some people only. Maybe they've figured out since this post.
Can you try it on a rather small batch of lower-resolution images and see if it makes any difference?
But no luck on 6 TIFF files (it converts photos to jpgs before sending, doesn't it?)
Under the "File Settings" section of the plugin, it should have the output format set to jpeg. But yes, then LR will convert the file to a jpeg before it ever gives the image data to the plugin.
For fun, you could try using the normal LR export to create the jpegs manually and then try to upload those. Supposedly, it shouldn't behave any differently since either way the plugin should be getting the same image data, but it might be worth a try.
You may want to try to leave a comment on Jeffrey's site; he may be able to help.
got this error message on trying to upload
I had to reinstall plug in as it had stopped working (dissapreaerd)
Is it because I tried LR2 and immediately deleted it? ( I might have accidentally trashed it while trashing LR2 files)Now gone back to LR1.4.1
...pics..
I thought the LR plug in for uploading to SM didnt work yet with LR2?
BTW, you're not using LR2 - you're using LR2 BETA -
any help with my question - anyone?
...pics..
Portfolio • Workshops • Facebook • Twitter
Simon, try re-installing the plugin
Portfolio • Workshops • Facebook • Twitter
Hi Andy - I did reinstall.
...pics..
Okay, I followed all the directions to send my photos from lightroom to smugmug. I downloaded the plug in and it is in my export actions folder, but when I try to look for it in post processing, it's not there! HELP!
http://www.dgrin.com/showthread.php?t=76934&highlight=lightroom+plugin
Portfolio • Workshops • Facebook • Twitter
I use Jeffrey Friedl's Plugin for Export. found at Lightroom Export Plugin for SmugMug where there are complete instructions for using. Very user friendly from Lightroom once installed.
Don
'I was older then, I'm younger than that now' ....
My Blog | Q+ | Moderator, Lightroom Forums | My Amateur Smugmug Stuff | My Blurb book Rust and Whimsy. More Rust , FaceBook .