Right Click Protection is protecting against owner?

sunxsweetsunxsweet Registered Users Posts: 178 Major grins
edited July 3, 2008 in SmugMug Support
Is there a way to have Right Click Protection enabled yet still allow me to right click and download my own picture when I'm logged in?

Comments

  • AllenAllen Registered Users Posts: 10,015 Major grins
    edited July 2, 2008
    sunxsweet wrote:
    Is there a way to have Right Click Protection enabled yet still allow me to right click and download my own picture when I'm logged in?
    It is that way now but only for the original, logged in, use the save photo icon in the flyout photobar.
    If you have originals turned off your visitors will not see the save icon.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • sunxsweetsunxsweet Registered Users Posts: 178 Major grins
    edited July 2, 2008
    ahhh... there we go.. i was just too used to right clicking.. hehe.. thanks for pointing that out!
  • com3com3 Registered Users Posts: 423 Major grins
    edited July 2, 2008
    i found out today, as i right-click protected a gallery for the first time, that it's REALLY annoying... rolleyes1.gif i hotlink images all the time, and i had to manually type in the URL's for the images (/photos/foo-L.jpg) to hotlink the ones i wanted...

    if you're logged in, it'd be nice to disable the right click protection...
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited July 3, 2008
    com3 wrote:
    i found out today, as i right-click protected a gallery for the first time, that it's REALLY annoying... rolleyes1.gif i hotlink images all the time, and i had to manually type in the URL's for the images (/photos/foo-L.jpg) to hotlink the ones i wanted...

    if you're logged in, it'd be nice to disable the right click protection...

    trying adding this code to your javascript, it will disable the right-click on you're logged in...but you still won't be able to access the url since 'protected' does other stuff not just the pop-up message.
    YE.onAvailable('bodyWrapper', function(){ if(YD.hasClass(document.body, 'loggedIn')) document.oncontextmenu=null});
    
    David Parry
    SmugMug API Developer
    My Photos
  • com3com3 Registered Users Posts: 423 Major grins
    edited July 3, 2008
    devbobo wrote:
    trying adding this code to your javascript, it will disable the right-click on you're logged in...but you still won't be able to access the url since 'protected' does other stuff not just the pop-up message.
    YE.onAvailable('bodyWrapper', function(){ if(YD.hasClass(document.body, 'loggedIn')) document.oncontextmenu=null});
    


    oh wow! awesome! thanks! tho, i AM able to access the URL directly... i have external links set to NO and protected set to YES, but i'm still able to hotlink if i want...

    here's the image: http://www.seppes.com/gallery/5208234_FoGjC/1/316445048_RwpVW/Large

    here's my hotlink workaround (it's me!):
    316445048_RwpVW-L.jpg


    just change...
    /gallery/5208234_FoGjC/1/316445048_RwpVW/Large

    to

    /photos/316445048_RwpVW-L.jpg and VIOLA! it only took me about 10 seconds to figure it out.



    EDIT// awww, you can't see that i'm wearing my smugmug strap on that photo! :(
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited July 3, 2008
    com3 wrote:
    i AM able to access the URL directly

    sorry i should have been more specific, you can't access it by right-clicking on the image...and selecting "Copy image location"...like you can when protected is set to NO.
    David Parry
    SmugMug API Developer
    My Photos
  • com3com3 Registered Users Posts: 423 Major grins
    edited July 3, 2008
    devbobo wrote:
    sorry i should have been more specific, you can't access it by right-clicking on the image...and selecting "Copy image location"...like you can when protected is set to NO.


    yeah, then it just shows up as a 1x1px transparent gif. thanks for the code tho! i added it. thumb.gif
Sign In or Register to comment.