Options

Lightroom Export Plugin for SmugMug

135678

Comments

  • Options
    sunxsweetsunxsweet Registered Users Posts: 178 Major grins
    edited March 6, 2008
    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.
  • Options
    greendog99greendog99 Registered Users Posts: 1 Beginner grinner
    edited March 9, 2008
    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.

    Any suggestions?

    Here's a sample gallery exhibiting the problem:

    http://mikefischer.smugmug.com/gallery/4478484_Q7NGe

    Thanks,

    Mike
  • Options
    jswhighamjswhigham Registered Users Posts: 23 Big grins
    edited March 14, 2008
    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?
    Scott Whigham
    Whigham Photography, LLC
    www.whighamphotography.com
    www.altashot.com
  • Options
    cmasoncmason Registered Users Posts: 2,506 Major grins
    edited March 14, 2008
    jswhigham wrote:
    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.

    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\
  • Options
    jswhighamjswhigham Registered Users Posts: 23 Big grins
    edited March 14, 2008
    The update did it. Thanks
    Scott Whigham
    Whigham Photography, LLC
    www.whighamphotography.com
    www.altashot.com
  • Options
    _Rob_S__Rob_S_ Registered Users Posts: 14 Big grins
    edited March 15, 2008
    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?

    TIA,

    Rob
    www.ShellhamerPhotography.SmugMug.com
    www.EdwardsburgScouts.SmugMug.com
  • Options
    _Rob_S__Rob_S_ Registered Users Posts: 14 Big grins
    edited March 15, 2008
    _Rob_S_ wrote:
    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

    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.
  • Options
    dounddound Registered Users Posts: 72 Big grins
    edited March 19, 2008
    BrianLowe wrote:
    I am getting an error message when I am uploading to Smugmug. ne_nau.gif

    “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 rolleyes1.gif (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.
  • Options
    dounddound Registered Users Posts: 72 Big grins
    edited March 19, 2008
    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).

    new_caption_screenshot.jpg

    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 :D.

    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
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 19, 2008
    Nice work David thumb.gif
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    dounddound Registered Users Posts: 72 Big grins
    edited March 19, 2008
    devbobo wrote:
    Nice work David <img src="https://us.v-cdn.net/6029383/emoji/thumb.gif&quot; border="0" alt="" >
    Thanks :).

    I just modified my previous post to include a screenshot <img src="https://us.v-cdn.net/6029383/emoji/rolleyes1.gif&quot; 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:
    <html>
    <b>$$title</b> ($$dateTime)
    <font color="red">$$caption</font>
    Location: $$location
    </html>
    
  • Options
    thinktwicethinktwice Registered Users Posts: 1 Beginner grinner
    edited April 9, 2008
    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?
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 9, 2008
    thinktwice wrote:
    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...
  • Options
    dounddound Registered Users Posts: 72 Big grins
    edited April 9, 2008
    thinktwice wrote:
    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?

    <img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif&quot; border="0" alt="" > It'll be interesting to hear how you get this resolved ...

    Good luck!
  • Options
    hrsahrsa Registered Users Posts: 53 Big grins
    edited April 14, 2008
    I get a strange error when using it -
    "INTERNAL PLUGIN ERROR


    ResultBody is nil"


    Cannot upload anything.
    http://hrsa.ru
    Currently using Canon EOS 40D + Canon EF 24-70 f/2.8L USM + Sigma AF 10mm f/2.8 EX DC HSM Fisheye + Canon Speedlite 430EX
  • Options
    dounddound Registered Users Posts: 72 Big grins
    edited April 14, 2008
    When you get a the "ResultBody is nil" error message, I believe it means that the LrHttp.post method failed to send your data to SmugMug.

    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? headscratch.gif
  • Options
    hrsahrsa Registered Users Posts: 53 Big grins
    edited April 14, 2008
    Nope, never. Strangely, i find out that if really does upload one photo before it crashes.
    http://hrsa.ru
    Currently using Canon EOS 40D + Canon EF 24-70 f/2.8L USM + Sigma AF 10mm f/2.8 EX DC HSM Fisheye + Canon Speedlite 430EX
  • Options
    dounddound Registered Users Posts: 72 Big grins
    edited April 14, 2008
    Wow, it uploads single photo before crashing?

    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?
  • Options
    hrsahrsa Registered Users Posts: 53 Big grins
    edited April 14, 2008
    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?)
    http://hrsa.ru
    Currently using Canon EOS 40D + Canon EF 24-70 f/2.8L USM + Sigma AF 10mm f/2.8 EX DC HSM Fisheye + Canon Speedlite 430EX
  • Options
    dounddound Registered Users Posts: 72 Big grins
    edited April 14, 2008
    hrsa wrote:
    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.
  • Options
    I SimoniusI Simonius Registered Users Posts: 1,034 Major grins
    edited April 20, 2008
    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
    Veni-Vidi-Snappii
    ...pics..
  • Options
    hrsahrsa Registered Users Posts: 53 Big grins
    edited April 20, 2008
    Well, i'm using LR 2
    http://hrsa.ru
    Currently using Canon EOS 40D + Canon EF 24-70 f/2.8L USM + Sigma AF 10mm f/2.8 EX DC HSM Fisheye + Canon Speedlite 430EX
  • Options
    I SimoniusI Simonius Registered Users Posts: 1,034 Major grins
    edited April 20, 2008
    hrsa wrote:
    Well, i'm using LR 2

    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?
    Veni-Vidi-Snappii
    ...pics..
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 20, 2008
    hrsa wrote:
    Well, i'm using LR 2
    I doubt that the developer has it working with the Lightroom Beta yet.
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 20, 2008
    I Simonius wrote:
    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
    Since you tried the Beta,
    Simon, try re-installing the plugin thumb.gif
  • Options
    I SimoniusI Simonius Registered Users Posts: 1,034 Major grins
    edited April 20, 2008
    Andy wrote:
    Since you tried the Beta,
    Simon, try re-installing the plugin thumb.gif

    Hi Andy - I did reinstall.ne_nau.gif
    Veni-Vidi-Snappii
    ...pics..
  • Options
    gwendolyngwendolyn Registered Users Posts: 66 Big grins
    edited May 3, 2008
    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!headscratch.gif
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited May 3, 2008
  • Options
    DonRicklinDonRicklin Registered Users Posts: 5,551 Major grins
    edited May 3, 2008
    What uploader are you using.

    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
    .
  • Options
    gwendolyngwendolyn Registered Users Posts: 66 Big grins
    edited May 3, 2008
    Yes and no. I tried that plug in, it didn't work so I tried another one.
Sign In or Register to comment.