Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorjohnw
    • CommentTimeSep 19th 2009
     
    Hi,
    I have read many posts on protcting photos, to a geek like me they seemed complicated.
    Have found a simple code that not only disables right click but keyboard access as well.

    Add this small piece of code to the body tag in index.php

    <body>
    <?php the_gallery(); ?>
    <body oncontextmenu="return false;">

    </body></html>
    • CommentAuthorffd8
    • CommentTimeNov 5th 2009
     
    I'm sorry but I think this is a horrible thing to implement on a usability standpoint. Someone may want to open the contextual menu to view the photo in a new tab/window/bookmark - and it does nothing to keep someone from snagging the image via screengrab/viewsource/drag+drop/etc. Basic rule of thumb is don't put something online if you're worried about it getting downloaded- you could watermark the hell out of it, but then what's the point in even uploading?