"get a link" suggestion...

The MackThe Mack Registered Users Posts: 602 Major grins
edited November 17, 2008 in SmugMug Support
I love smugmug, always have. The one thing that I don't like it the steps to get a link to share pictures. Time consuming, etc.

What if, we added a drop down menu like we now have for tools.
when the menu drops down we can choose just like if we went through to share, get link, etc etc.

but instead we won't have to leave the page and go to another page, copy and then go back to the gallery to go to another picture?


anyone? Please? I'll donate $5 :)

Comments

  • darryldarryl Registered Users Posts: 997 Major grins
    edited November 17, 2008
    If you have a Power or Pro account, you can add some custom JavaScript that will give you one-click linking. It's pretty sweet:

    http://dgrin.com/showthread.php?p=932902#post932902
  • hyachtshyachts Registered Users Posts: 140 Major grins
    edited November 17, 2008
    darryl wrote:
    If you have a Power or Pro account, you can add some custom JavaScript that will give you one-click linking. It's pretty sweet:

    http://dgrin.com/showthread.php?p=932902#post932902

    John's hack broke along with SmugMug's copy functionality with the new Flash version. AFAIK he has not updated it to use the new version of the click-to-copy function that SmugMug has implemented. I took a brief (and I do mean very brief - I'm no JS guru) look at it to see if I could suss out how to use the new code and quickly gave up.
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited November 17, 2008
    hyachts wrote:
    John's hack broke along with SmugMug's copy functionality with the new Flash version. AFAIK he has not updated it to use the new version of the click-to-copy function that SmugMug has implemented. I took a brief (and I do mean very brief - I'm no JS guru) look at it to see if I could suss out how to use the new code and quickly gave up.

    I've not yet figured out how to fix it. The "simple" function that Smugmug used to have doesn't appear to work anymore (even after they fixed the Get a Link page) and when I've looked at the Get a Link page where they do copy to the clipboard successfully it is fairly involved, using transparent flash objects to intercept a click to a custom flash SWF that does the copy to clipboard inside the SWF. I'm sure it can be figured out, but I haven't taken the time yet as I don't use this code myself (I wrote it for others).
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited November 17, 2008
    The fix we rolled out for Get a Link was not intended to repair the previous method of the copy functionality. Adobe thought that being able to copy something to a users clipboard using flash without direct user interaction was a "bad thing". So in version 10 they requre the user to directly interact with flash (eg: clicking on the flash file), then you are allowed to copy to the clipboard.

    There are no work arounds (which is why we couldn't "fix" old behavior. Instead we came up with a new solution: mimicing the text box with a flash file, that way when you click on the file, it copies.

    jfriend wrote:
    I've not yet figured out how to fix it. The "simple" function that Smugmug used to have doesn't appear to work anymore (even after they fixed the Get a Link page) and when I've looked at the Get a Link page where they do copy to the clipboard successfully it is fairly involved, using transparent flash objects to intercept a click to a custom flash SWF that does the copy to clipboard inside the SWF. I'm sure it can be figured out, but I haven't taken the time yet as I don't use this code myself (I wrote it for others).
  • hyachtshyachts Registered Users Posts: 140 Major grins
    edited November 17, 2008
    {JT} wrote:
    The fix we rolled out for Get a Link was not intended to repair the previous method of the copy functionality. Adobe thought that being able to copy something to a users clipboard using flash without direct user interaction was a "bad thing". So in version 10 they requre the user to directly interact with flash (eg: clicking on the flash file), then you are allowed to copy to the clipboard.

    There are no work arounds (which is why we did not "fix" old behavior. Instead we came up with a new solution: mimicing the text box with a flash file, that way when you click on the file, it copies.

    So I think that means that John's button method simply won't work... since the button isn't a Flash object. Bummer - I agree with the OP that getting a link is tedious so John's little hack was nice to have.

    So what about what the OP suggests? Could the links be in a cascading menu rather than having to click through to another page, clicking a link there, and then clicking back to the gallery?
  • {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited November 17, 2008
    Can't be in a cascading menu - since that requires that each link be a flash file (not easily doable). Instead at some point we will have a "lightbox" on the page that pops up and you can pick the links. Same amount of clicks, but at least you won't have to leave the page.
    hyachts wrote:
    So I think that means that John's button method simply won't work... since the button isn't a Flash object. Bummer - I agree with the OP that getting a link is tedious so John's little hack was nice to have.

    So what about what the OP suggests? Could the links be in a cascading menu rather than having to click through to another page, clicking a link there, and then clicking back to the gallery?
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited November 17, 2008
    {JT} wrote:
    The fix we rolled out for Get a Link was not intended to repair the previous method of the copy functionality. Adobe thought that being able to copy something to a users clipboard using flash without direct user interaction was a "bad thing". So in version 10 they requre the user to directly interact with flash (eg: clicking on the flash file), then you are allowed to copy to the clipboard.

    There are no work arounds (which is why we couldn't "fix" old behavior. Instead we came up with a new solution: mimicing the text box with a flash file, that way when you click on the file, it copies.

    Thanks for the explanation JT.

    Presumably, it could be done to put transparent flash objects point to the clipboard SWF into the button UI that we were using, but it's a bunch of work and not high on my list right now.

    I've seen that firefox has interfaces for copying to the clipboard that are firefox specific. Obviously that wouldn't work for the general population, but these are "owner hacks" so I'm wondering if that could be used for those of us who use Firefox and just need some "owner functionality" involving the clipboard?
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • hyachtshyachts Registered Users Posts: 140 Major grins
    edited November 17, 2008
    So is Flash really the only way to copy programmatically to the clipboard (from a browser, anyways)?
  • The MackThe Mack Registered Users Posts: 602 Major grins
    edited November 17, 2008
    ne_nau.gif

    english please fellas?
  • {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited November 17, 2008
    Firefox can copy to clipboard, but not natively - you gotta edit your config to get it to work:
    http://groups.google.com/group/Snipurl/web/copy-to-clipboard-not-working?pli=1

    So yeah, for now there is no easy way to copy to clipboard. There is a new flash file that Sam created that can be customized - but it is still in it's early stages of development and needs to be polished up a bit more.

    jfriend wrote:
    Thanks for the explanation JT.

    Presumably, it could be done to put transparent flash objects point to the clipboard SWF into the button UI that we were using, but it's a bunch of work and not high on my list right now.

    I've seen that firefox has interfaces for copying to the clipboard that are firefox specific. Obviously that wouldn't work for the general population, but these are "owner hacks" so I'm wondering if that could be used for those of us who use Firefox and just need some "owner functionality" involving the clipboard?
Sign In or Register to comment.