Protected pictures Protected pictures
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Protected pictures

Started by jvnatale, July 16, 2007, 07:43:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jvnatale

Is there a way to make it so that people cannot save and use the pictures put into the albums? I've seen other sites when you right click on a picture, it gives you a warning stating that it is copyrighted and cannot be used. Is this possible? Thanks!

Joachim Müller

Disabling the right-click is a silly feature that will only keep total newbies from saving the files. Has been discussed frequently. If you want to know details, search the board.

curtisneeley

It may be a silly feature that will only stop newbies. 
Bulletproof vests are only features that will only stop small firearms. 
A lock on a home or car is a silly feature that will only stop newbies willing to only steal from an unlocked home.
Those of us who are modern day masters of photography who are tying to use Coppermine to show our works of art should not hear how easy we should make it to steal our photos.

CurtisNeeley.com<==  No Nudes
Master-of-Photography.us<== All fine art nudes

P.S.
I searched for the trivial anti-right click stopping code BEFORE I read your arrogant post.
Would you run an ad that included you SSN and bank account number?  Would you then also run one to announce that you were leaving you home unlocked for a month 24/7?? 

curtisneeley

Oops!  I apologize!  It was an arrogant post though.  Not nearly as arrogant as I am capable of in my totally self-centered way! Only an person who is going to rob you of copyrights will do those simple steps to ignore the anti-right click saving feature.  Read my rude and obnoxious previous post to clear that up if you must. 

Being the ONLY visible body-armor wearing soldier in a squad puts you in the sniper's cross-hairs as a their first target.   Wearing a shiny officer rank insignia does the same. Being the only soldier not wearing clothing only makes you naked.

Being a person who runs a free ad to announce that you are going away on vacation for a week and leaving all your belongings unsecured only makes you seem like you are challenging thiefs,!  That almost equates to a "Rob me" notice.

Here is a simple fix.
At approximately line 38 as the first lines after <body> in the theme's template.html add the code below edited as you wish
This will disable the right click on the album and thumbnail views.
When you view the full size file the right click returns. :-(


<script language=JavaScript>
<!--
<!--



var message="© Please do not copy this file in any way.";
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>


To get rid of right-click theft menu on the full size pop-up you must insert the exact code above around line 2500 after <body> in the themes.inc.php

Sorry I had an attitude.  Now this thread is a short quick answer. Adding this JavaScript to these two routines solves the right click problem and doesn't affect Coppermine otherwise.

Groupf16.org<== a place where you can go view a tiny group of contemporary "Masters of Photography".  You can see the anti-right click operating there.  Sure - - A skilled thief can still save the JPG 50 quality files and can illegally copy them.

Why would anyone bother with a copyright notice.?
Why would any photographer NOT want to  put up a copyright notice.?