The Koken "Image Protector" plugin is almost perfect, it blocks right click "save image as..." on most images except probably the most important one, the largest of them all in the lightbox.
This has obviously been bugging me for a while, and tonight I decided to track down the issue and write a quick fix for it.
WARNING! Before proceeding this fix requires editing in native Koken files and may be overwritten by future updates.
Info! I have replaced curly brackets with regular brackets to avoid rendering and show the code
Before you begin make a backup of the folder /koken/app/site/themes/ this is where we make all of our edits.
Open /koken/app/site/themes/lightbox.lens in your favorite editor
At the very end just above the closing body tag </body> add the following code
Now open /koken/app/site/themes/common/js/lightbox.js in your editor
And on line 417 add the following code:
Now open your admin panel go to Site and click on Costum CSS in the lower left corner and add the following CSS.
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.4);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.4);
box-shadow: 0 1px 4px rgba(0,0,0,.4);
That's it you now have image protection in lightbox as well. If you are to lazy to manually edit the files individually you can download the edited files here: Download